summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/install-tl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl
index e841a3deb3a..45c09317d64 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -875,8 +875,7 @@ sub read_profile {
while (<PROFILE>) {
next if m/^[[:space:]]*$/; # skip empty lines
next if m/^[[:space:]]*#/; # skip comment lines
- my ($k,$v);
- ($k,$v) = /(.*?)\s+(.*)/; # The *first* space is delimiter.
+ my ($k,$v) = split (" ", $_, 2); # value might have spaces
$pro{$k} = $v;
}
foreach (keys %vars) {