diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-09-12 22:22:17 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-09-12 22:22:17 +0200 |
commit | 14bcdce1dc6029c3676c3640d8148c83c14692e5 (patch) | |
tree | 99d760e13b687f8111635916d9ed3937bc084c64 /metrics.pl | |
parent | e6bf4cacb10f86077fe898349485f5c7ab9fb4b6 (diff) | |
download | bugzilla-14bcdce1dc6029c3676c3640d8148c83c14692e5.tar.gz bugzilla-14bcdce1dc6029c3676c3640d8148c83c14692e5.tar.xz |
Revert "Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + local symlink to data/ directory"
This reverts commit e6bf4cacb10f86077fe898349485f5c7ab9fb4b6.
Diffstat (limited to 'metrics.pl')
-rwxr-xr-x | metrics.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/metrics.pl b/metrics.pl index afcd7d22d..c48629c45 100755 --- a/metrics.pl +++ b/metrics.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -7,7 +7,6 @@ # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. -use 5.10.1; use strict; use warnings; @@ -15,8 +14,9 @@ BEGIN { delete $ENV{SERVER_SOFTWARE}; } -use FindBin qw($RealBin); -use lib ("$RealBin/.", "$RealBin/lib", "$RealBin/local/lib/perl5"); +use FindBin qw($Bin); +use lib $Bin; +use lib "$Bin/lib"; use Bugzilla; use Bugzilla::Constants; |