summaryrefslogtreecommitdiffstats
path: root/extensions/UserProfile/bin
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-12-21 22:32:09 +0100
committerDylan William Hardison <dylan@hardison.net>2016-12-21 22:32:18 +0100
commit72197b596fae2733383c9de70197363fdd1c05d9 (patch)
tree25f8fbd18dcc37b172fa8abc4c6c4ae423fdab5f /extensions/UserProfile/bin
parent19caea8deed209e45a0a652a95a78b1485261d5e (diff)
downloadbugzilla-72197b596fae2733383c9de70197363fdd1c05d9.tar.gz
bugzilla-72197b596fae2733383c9de70197363fdd1c05d9.tar.xz
Bug 1321662 - Ensure that Carp and Carp::Heavy are only loaded after @INC is setup with the vendor bundles
Diffstat (limited to 'extensions/UserProfile/bin')
-rwxr-xr-xextensions/UserProfile/bin/migrate.pl3
-rwxr-xr-xextensions/UserProfile/bin/update.pl3
2 files changed, 2 insertions, 4 deletions
diff --git a/extensions/UserProfile/bin/migrate.pl b/extensions/UserProfile/bin/migrate.pl
index 2cde3ce2c..3b7057af8 100755
--- a/extensions/UserProfile/bin/migrate.pl
+++ b/extensions/UserProfile/bin/migrate.pl
@@ -11,8 +11,7 @@ use strict;
use warnings;
$| = 1;
-use FindBin qw($RealBin);
-use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
+use lib qw(. lib local/lib/perl5);
use Bugzilla;
BEGIN { Bugzilla->extensions() }
diff --git a/extensions/UserProfile/bin/update.pl b/extensions/UserProfile/bin/update.pl
index af9a81774..8f59646ae 100755
--- a/extensions/UserProfile/bin/update.pl
+++ b/extensions/UserProfile/bin/update.pl
@@ -10,8 +10,7 @@
use strict;
use warnings;
-use FindBin qw($RealBin);
-use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
+use lib qw(. lib local/lib/perl5);
use Bugzilla;
BEGIN { Bugzilla->extensions() }