From: Albert Ting Date: Thu, 22 Jan 2015 12:10:44 +0000 (+0000) Subject: Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob. X-Git-Tag: bugzilla-4.4-stable~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c0962c1de8b0f4bea113494432397bf255bb24;p=thirdparty%2Fbugzilla.git Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob. --- diff --git a/checksetup.pl b/checksetup.pl index bcc1ad8ea3..ab7ea9f7a6 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