summaryrefslogtreecommitdiffstats
path: root/scripts/addcustomfield.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/addcustomfield.pl')
-rwxr-xr-xscripts/addcustomfield.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/addcustomfield.pl b/scripts/addcustomfield.pl
index 6e128ab6f..a9bd2bcb3 100755
--- a/scripts/addcustomfield.pl
+++ b/scripts/addcustomfield.pl
@@ -16,9 +16,11 @@
# Contributor(s): Frédéric Buclin <LpSolit@gmail.com>
# David Miller <justdave@mozilla.com>
+use 5.10.1;
use strict;
-use FindBin qw($RealBin);
-use lib ("$RealBin/..", "$RealBin/../lib", "$RealBin/../local/lib/perl5");
+use warnings;
+use lib qw(. lib local/lib/perl5);
+
use Bugzilla;
use Bugzilla::Constants;