summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-14 00:06:37 +0000
committerKarl Berry <karl@freefriends.org>2009-04-14 00:06:37 +0000
commit755e329dbbc83c4e869dc07a6b975decd817abe1 (patch)
treede14f7c8329c969eec376eb0749ec6b87e4e9812 /Master
parent7848f4d3a35dc3af53fab996f577ac248c7690f0 (diff)
(read_profile): remove eol before splitting.
git-svn-id: svn://tug.org/texlive/trunk@12715 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 45c09317d64..333c75cba51 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -875,6 +875,7 @@ sub read_profile {
while (<PROFILE>) {
next if m/^[[:space:]]*$/; # skip empty lines
next if m/^[[:space:]]*#/; # skip comment lines
+ chomp; # remove eol
my ($k,$v) = split (" ", $_, 2); # value might have spaces
$pro{$k} = $v;
}