diff options
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index 9b368b9b8..821de1262 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -336,6 +336,14 @@ if (%missing) { } } + +# If we're running on Windows, reset the input line terminator so that +# console input works properly - loading CGI tends to mess it up + +if ($^O =~ /MSWin/i) { + $/ = "\015\012"; +} + ########################################################################### # Global definitions ########################################################################### |