summaryrefslogtreecommitdiffstats
path: root/scripts/fixqueries.pl
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 /scripts/fixqueries.pl
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 'scripts/fixqueries.pl')
-rwxr-xr-xscripts/fixqueries.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/fixqueries.pl b/scripts/fixqueries.pl
index 2619081ce..c26165160 100755
--- a/scripts/fixqueries.pl
+++ b/scripts/fixqueries.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
@@ -20,10 +20,10 @@
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
+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;