summaryrefslogtreecommitdiffstats
path: root/install-module.pl
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-23 01:14:23 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-23 01:14:23 +0100
commit0b85419f77869b943323c3656d8900f9ad6e1dfc (patch)
tree37de3c5bbdb6339e2c4cfba6e80b01bf8e1ce328 /install-module.pl
parent2f34ebff96ec03af7aa06074f706b8a696f6cd36 (diff)
downloadbugzilla-0b85419f77869b943323c3656d8900f9ad6e1dfc.tar.gz
bugzilla-0b85419f77869b943323c3656d8900f9ad6e1dfc.tar.xz
Bug 547336: Make installation work on Windows with Strawberry Perl Professional
r=glob, a=mkanat
Diffstat (limited to 'install-module.pl')
-rwxr-xr-xinstall-module.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/install-module.pl b/install-module.pl
index 241972211..44457c400 100755
--- a/install-module.pl
+++ b/install-module.pl
@@ -47,9 +47,12 @@ GetOptions(\%switch, 'all|a', 'upgrade-all|u', 'show-config|s', 'global|g',
pod2usage({ -verbose => 1 }) if $switch{'help'};
-if (ON_WINDOWS) {
- print "\nYou cannot run this script on Windows. Please follow instructions\n";
- print "given by checksetup.pl to install missing Perl modules.\n\n";
+if (ON_ACTIVESTATE) {
+ print <<END;
+You cannot run this script when using ActiveState Perl. Please follow
+the instructions given by checksetup.pl to install missing Perl modules.
+
+END
exit;
}