[bugzilla-gnome-org-upstream/4.4] Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob.



commit 25c0962c1de8b0f4bea113494432397bf255bb24
Author: Albert Ting <altlist gmail com>
Date:   Thu Jan 22 12:10:44 2015 +0000

    Bug 1116614: checksetup "use lib" called too late. r=gerv, a=glob.

 checksetup.pl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/checksetup.pl b/checksetup.pl
index bcc1ad8..ab7ea9f 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 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]