From 5f310e5b9e7afbd5badb17178349fefaaabfacce Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 30 Jun 2016 23:32:40 -0400 Subject: Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + local symlink to data/ directory --- scripts/addcustomfield.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/addcustomfield.pl') diff --git a/scripts/addcustomfield.pl b/scripts/addcustomfield.pl index 886d1ac5c..6e128ab6f 100755 --- a/scripts/addcustomfield.pl +++ b/scripts/addcustomfield.pl @@ -17,7 +17,8 @@ # David Miller use strict; -use lib qw(. lib); +use FindBin qw($RealBin); +use lib ("$RealBin/..", "$RealBin/../lib", "$RealBin/../local/lib/perl5"); use Bugzilla; use Bugzilla::Constants; -- cgit v1.2.3-24-g4f1b