From 8ff6b282102ff684f4745e02c4ad555c5a4dc88e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Apr 2017 17:51:06 +0000 Subject: install-tl doc (and ignore leading whitespace in profiles) git-svn-id: svn://tug.org/texlive/trunk@44018 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 291 ++++++++++++++++++++++++--------------- Master/tlpkg/TeXLive/TLConfig.pm | 6 +- 2 files changed, 186 insertions(+), 111 deletions(-) (limited to 'Master') diff --git a/Master/install-tl b/Master/install-tl index a4ba70285e5..2fbeb6e0379 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -1835,6 +1835,7 @@ sub read_profile { chomp; next if m/^[[:space:]]*$/; # skip empty lines next if m/^[[:space:]]*#/; # skip comment lines + s/^[[:space:]]+//; # ignore leading (but not trailing) whitespace my ($k,$v) = split (" ", $_, 2); # value might have spaces # skip TEXDIRW, seems not used anymore, but might be around # in some profiles @@ -2435,22 +2436,24 @@ install-tl-advanced.bat [I