summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-08 03:00:52 +0000
committerNorbert Preining <norbert@preining.info>2023-08-08 03:00:52 +0000
commit313a3ccce8935aa26c29f2e430042cffee435454 (patch)
tree4538a4d48be5143222aea6ad75a473938e243c55 /systems/texlive/tlnet/install-tl
parentaebf6a3b57eda6e22a8e5fb93958edbf6ad1b551 (diff)
CTAN sync 202308080300
Diffstat (limited to 'systems/texlive/tlnet/install-tl')
-rwxr-xr-xsystems/texlive/tlnet/install-tl11
1 files changed, 7 insertions, 4 deletions
diff --git a/systems/texlive/tlnet/install-tl b/systems/texlive/tlnet/install-tl
index cbf3677bd3..a30368d07b 100755
--- a/systems/texlive/tlnet/install-tl
+++ b/systems/texlive/tlnet/install-tl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: install-tl 66578 2023-03-12 17:33:10Z karl $
+# $Id: install-tl 67839 2023-08-07 21:47:31Z preining $
# Copyright 2007-2023
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
@@ -12,7 +12,7 @@
use strict; use warnings;
-my $svnrev = '$Revision: 66578 $';
+my $svnrev = '$Revision: 67839 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
@@ -2238,7 +2238,10 @@ sub read_profile {
# from the tlpdb do not overwrite -seed-profile values.
my %pro;
while (<PROFILE>) {
- chomp;
+ # don't use chomp here since we might use files written for Windows
+ # on Unix or the other way round.
+ # \R is a general line terminator, \z is end of string
+ s{\R\z}{};
next if m/^[[:space:]]*$/; # skip empty lines
next if m/^[[:space:]]*#/; # skip comment lines
s/^[[:space:]]+//; # ignore leading (but not trailing) whitespace
@@ -3600,7 +3603,7 @@ This script and its documentation were written for the TeX Live
distribution (L<https://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: install-tl 66578 2023-03-12 17:33:10Z karl $
+$Id: install-tl 67839 2023-08-07 21:47:31Z preining $
=cut
# to remake HTML version: pod2html --cachedir=/tmp install-tl >/tmp/itl.html