aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2015-01-22 12:03:16 +0000
committerGervase Markham <gerv@gerv.net>2015-01-22 12:03:16 +0000
commitce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f (patch)
treea3f22fb8f486f328b025cca8d730c593f2dafdc4 /checksetup.pl
parentBump version post-release (diff)
downloadbugzilla-ce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f.tar.gz
bugzilla-ce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f.tar.bz2
bugzilla-ce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f.zip
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 50ca8bda8..cf124b8e2 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