aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-10-19 11:46:10 +0000
committermkanat%bugzilla.org <>2007-10-19 11:46:10 +0000
commit415e32d463bbb881d991d886ddba6f859669c098 (patch)
treefd97f6e5bd6f2333f9c9dceda58f5ba226d3bc4a /contrib
parentBug 398990: process_bug.cgi shouldn't check the 'reporter' field as this fiel... (diff)
downloadbugzilla-415e32d463bbb881d991d886ddba6f859669c098.tar.gz
bugzilla-415e32d463bbb881d991d886ddba6f859669c098.tar.bz2
bugzilla-415e32d463bbb881d991d886ddba6f859669c098.zip
Bug 399954: Make Bugzilla able to hold its dependencies in a local directory
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/bz_webservice_demo.pl1
-rwxr-xr-xcontrib/bzdbcopy.pl2
-rw-r--r--contrib/merge-users.pl2
-rwxr-xr-xcontrib/recode.pl3
-rw-r--r--contrib/sendbugmail.pl4
-rw-r--r--contrib/sendunsentbugmail.pl2
-rwxr-xr-xcontrib/syncLDAP.pl2
7 files changed, 8 insertions, 8 deletions
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<bz_webservice_demo.pl --help> 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 <mkanat@bugzilla.org>
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 <mkanat@bugzilla.org>
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;