From 561465ca93cde995059271ece57d334db26e56fa Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Thu, 22 Jan 2015 11:39:36 +0000 Subject: Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob. --- checksetup.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index eb6b3f857..908029313 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 -- cgit v1.2.3-24-g4f1b