]> 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:10:44 +0000 (12:10 +0000)
committerGervase Markham <gerv@gerv.net>
Thu, 22 Jan 2015 12:10:44 +0000 (12:10 +0000)
checksetup.pl

index bcc1ad8ea34f088b85b62be9e9693ab6384d1e24..ab7ea9f7a6aef3875887d1c37af24ade0f016d84 100755 (executable)
 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