diff options
-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; } } |