summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-29 05:34:00 +0200
committermkanat%bugzilla.org <>2006-07-29 05:34:00 +0200
commitb07bd7dcd718ed4a9a04d8010b74100d864c80bc (patch)
tree24ef30d1bd5b126cb5ba84a7316514fcc3d4d815 /Bugzilla/Install
parent0a075818e83337cad28529df317cca7bec93e32c (diff)
downloadbugzilla-b07bd7dcd718ed4a9a04d8010b74100d864c80bc.tar.gz
bugzilla-b07bd7dcd718ed4a9a04d8010b74100d864c80bc.tar.xz
Bug 346343: Clean up all of checksetup prior to localconfig code
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Requirements.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 6d119044c..8893b0ff8 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -220,6 +220,10 @@ sub check_requirements {
have_vers($module->{name}, $module->{version}, $output);
}
+ # If we're running on Windows, reset the input line terminator so that
+ # console input works properly - loading CGI tends to mess it up
+ $/ = "\015\012" if ON_WINDOWS;
+
if ($output) {
print "\n";