]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob.
authorAlbert Ting <altlist@gmail.com>
Thu, 22 Jan 2015 12:03:16 +0000 (12:03 +0000)
committerGervase Markham <gerv@gerv.net>
Thu, 22 Jan 2015 12:03:16 +0000 (12:03 +0000)
checksetup.pl

index 50ca8bda878eb50a90a8c28221ddd5896c5f4008..cf124b8e2931e8b02a4b4fa093b411b16cebf2ae 100755 (executable)
@@ -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