From ce8c9cacfb5e9e6615c7c2f69a1cddd4fd62b73f Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Thu, 22 Jan 2015 12:03:16 +0000 Subject: [PATCH] Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob. --- checksetup.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.2