diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-23 01:14:23 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-23 01:14:23 +0100 |
commit | 0b85419f77869b943323c3656d8900f9ad6e1dfc (patch) | |
tree | 37de3c5bbdb6339e2c4cfba6e80b01bf8e1ce328 /install-module.pl | |
parent | 2f34ebff96ec03af7aa06074f706b8a696f6cd36 (diff) | |
download | bugzilla-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-x | install-module.pl | 9 |
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; } |