diff options
author | Norbert Preining <preining@logic.at> | 2017-04-30 09:07:49 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-04-30 09:07:49 +0000 |
commit | aa8f7be91c2b1405c5950b76622e0097ade1ac67 (patch) | |
tree | ddbcb5e37ca7ab6fa637d934dd6adc929f1ef00f /Master/texmf-dist | |
parent | 628146a99a626f012d2e6a92479ee187de53b71f (diff) |
fix tlmgr shell error
git-svn-id: svn://tug.org/texlive/trunk@44125 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index ac974fec502..cc77e4441cd 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -6632,7 +6632,7 @@ sub action_shell { chomp($ans); if (@options) { $ans--; - if ($ans >= 0 && $ans < $#options) { + if ($ans >= 0 && $ans <= $#options) { $ans = $options[$ans]; return($ans); } else { @@ -6697,7 +6697,7 @@ sub action_shell { } # deal with Ctrl-D if (!defined($val)) { - print('ERROR Missing value for set.\n'); + print("ERROR Missing value for set.\n"); next; } } |