summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2015-01-22 12:39:36 +0100
committerGervase Markham <gerv@gerv.net>2015-01-22 12:39:36 +0100
commit561465ca93cde995059271ece57d334db26e56fa (patch)
tree08faeac532333b3024f8e390690f270ae5794cca /checksetup.pl
parent16122921b2f68b490a61cd80ae9ea5ee661ae11b (diff)
downloadbugzilla-561465ca93cde995059271ece57d334db26e56fa.tar.gz
bugzilla-561465ca93cde995059271ece57d334db26e56fa.tar.xz
Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob.
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl
index eb6b3f857..908029313 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -17,12 +17,13 @@ use strict;
use warnings;
use File::Basename;
+BEGIN { chdir dirname($0); }
+use lib qw(. lib);
+
use Getopt::Long qw(:config bundling);
use Pod::Usage;
use Safe;
-BEGIN { chdir dirname($0); }
-use lib qw(. lib);
use Bugzilla::Constants;
use Bugzilla::Install::Requirements;
use Bugzilla::Install::Util qw(install_string get_version_and_os