From: Albert Ting Date: Thu, 22 Jan 2015 12:03:16 +0000 (+0000) Subject: Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob. X-Git-Tag: bugzilla-5.0rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f;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 50ca8bda87..cf124b8e29 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