aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2015-01-22 12:10:44 +0000
committerGervase Markham <gerv@gerv.net>2015-01-22 12:10:44 +0000
commit25c0962c1de8b0f4bea113494432397bf255bb24 (patch)
tree96ec90d0cd3d84028aee28aab306b7c42e7eeeea
parentBump version post-release (diff)
downloadbugzilla-25c0962c1de8b0f4bea113494432397bf255bb24.tar.gz
bugzilla-25c0962c1de8b0f4bea113494432397bf255bb24.tar.bz2
bugzilla-25c0962c1de8b0f4bea113494432397bf255bb24.zip
Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob.
-rwxr-xr-xchecksetup.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl
index bcc1ad8ea..ab7ea9f7a 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -15,12 +15,13 @@
use strict;
use 5.008001;
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