summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-06-03 05:40:11 +0000
committerNorbert Preining <preining@logic.at>2008-06-03 05:40:11 +0000
commit3480939073cde759be9038b57270ca4f991990ed (patch)
treea589129a074937bc09f6e6157908184e43fea9ea /Master/tlpkg
parent6eac29b50be3e6b9daef5af984fd89f4ecb816b3 (diff)
install-menu-text.pl: make Ctrl-D quit the scene ...
git-svn-id: svn://tug.org/texlive/trunk@8504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/installer/install-menu-text.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/installer/install-menu-text.pl b/Master/tlpkg/installer/install-menu-text.pl
index 743fdf955c7..0da5b74b037 100755
--- a/Master/tlpkg/installer/install-menu-text.pl
+++ b/Master/tlpkg/installer/install-menu-text.pl
@@ -81,7 +81,9 @@ sub other_options {
sub prompt {
my $prompt=shift;
print "\n$prompt: ";
- chomp(my $answer=<STDIN>);
+ my $answer = <STDIN>;
+ $answer = "q" if !defined($answer);
+ chomp($answer);
return "$answer";
}