From 415e32d463bbb881d991d886ddba6f859669c098 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 19 Oct 2007 11:46:10 +0000 Subject: Bug 399954: Make Bugzilla able to hold its dependencies in a local directory Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- contrib/bz_webservice_demo.pl | 1 + contrib/bzdbcopy.pl | 2 +- contrib/merge-users.pl | 2 +- contrib/recode.pl | 3 +-- contrib/sendbugmail.pl | 4 ++-- contrib/sendunsentbugmail.pl | 2 +- contrib/syncLDAP.pl | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'contrib') diff --git a/contrib/bz_webservice_demo.pl b/contrib/bz_webservice_demo.pl index 70fb6c294..72dd78a19 100755 --- a/contrib/bz_webservice_demo.pl +++ b/contrib/bz_webservice_demo.pl @@ -29,6 +29,7 @@ C for detailed help =cut use strict; +use lib qw(lib); use Getopt::Long; use Pod::Usage; use File::Basename qw(dirname); diff --git a/contrib/bzdbcopy.pl b/contrib/bzdbcopy.pl index 489909882..9edf585af 100755 --- a/contrib/bzdbcopy.pl +++ b/contrib/bzdbcopy.pl @@ -19,7 +19,7 @@ # Contributor(s): Max Kanat-Alexander use strict; -use lib "."; +use lib qw(. lib); use Bugzilla; use Bugzilla::DB; use Bugzilla::Util; diff --git a/contrib/merge-users.pl b/contrib/merge-users.pl index f071f7c2c..ac689abfd 100644 --- a/contrib/merge-users.pl +++ b/contrib/merge-users.pl @@ -44,7 +44,7 @@ merge-users.pl - Merge two user accounts. =cut -use lib qw(.); +use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; diff --git a/contrib/recode.pl b/contrib/recode.pl index 49e824f6d..713465be7 100755 --- a/contrib/recode.pl +++ b/contrib/recode.pl @@ -20,8 +20,7 @@ # Contributor(s): Max Kanat-Alexander use strict; -# Allow the script to be run from contrib or as contrib/recode.pl -use lib '..'; +use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; diff --git a/contrib/sendbugmail.pl b/contrib/sendbugmail.pl index ae282ca4a..4fd1c8374 100644 --- a/contrib/sendbugmail.pl +++ b/contrib/sendbugmail.pl @@ -4,7 +4,7 @@ # # Nick Barnes, Ravenbrook Limited, 2004-04-01. # -# $Id: sendbugmail.pl,v 1.7 2006/07/03 21:42:47 mkanat%bugzilla.org Exp $ +# $Id: sendbugmail.pl,v 1.8 2007/10/19 06:46:17 mkanat%bugzilla.org Exp $ # # Bugzilla email script for Bugzilla 2.17.4 and later. Invoke this to send # bugmail for a bug which has been changed directly in the database. @@ -14,7 +14,7 @@ # # Usage: perl -T contrib/sendbugmail.pl bug_id user_email -use lib qw(.); +use lib qw(. lib); use Bugzilla; use Bugzilla::Util; diff --git a/contrib/sendunsentbugmail.pl b/contrib/sendunsentbugmail.pl index 5ed49b22e..ec92a97a0 100644 --- a/contrib/sendunsentbugmail.pl +++ b/contrib/sendunsentbugmail.pl @@ -23,7 +23,7 @@ use strict; -use lib qw(.); +use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; diff --git a/contrib/syncLDAP.pl b/contrib/syncLDAP.pl index 72ea91798..07fa6f46b 100755 --- a/contrib/syncLDAP.pl +++ b/contrib/syncLDAP.pl @@ -22,7 +22,7 @@ use strict; -use lib qw(.); +use lib qw(. lib); use Net::LDAP; use Bugzilla; -- cgit v1.2.3-24-g4f1b