summaryrefslogtreecommitdiffstats
path: root/extensions/UserProfile/bin
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/UserProfile/bin')
-rwxr-xr-xextensions/UserProfile/bin/migrate.pl4
-rwxr-xr-xextensions/UserProfile/bin/update.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/UserProfile/bin/migrate.pl b/extensions/UserProfile/bin/migrate.pl
index 147edef9c..2cde3ce2c 100755
--- a/extensions/UserProfile/bin/migrate.pl
+++ b/extensions/UserProfile/bin/migrate.pl
@@ -11,8 +11,8 @@ use strict;
use warnings;
$| = 1;
-use FindBin qw($Bin);
-use lib "$Bin/../../..";
+use FindBin qw($RealBin);
+use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
use Bugzilla;
BEGIN { Bugzilla->extensions() }
diff --git a/extensions/UserProfile/bin/update.pl b/extensions/UserProfile/bin/update.pl
index 2a4997aee..af9a81774 100755
--- a/extensions/UserProfile/bin/update.pl
+++ b/extensions/UserProfile/bin/update.pl
@@ -10,8 +10,8 @@
use strict;
use warnings;
-use FindBin qw($Bin);
-use lib "$Bin/../../..";
+use FindBin qw($RealBin);
+use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
use Bugzilla;
BEGIN { Bugzilla->extensions() }