summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-08-16 12:37:39 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-08-16 12:37:39 -0400
commit2b1b68c075986da675b33518a13d124139539fb6 (patch)
treeba2d46ded4ad437910b6d1f4896050dd5e461ec9
parent48ca954737890ff4661fbf88a8d90102bc85a1ec (diff)
avoid loading File::Spec when not needed
-rwxr-xr-xdh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh b/dh
index 2e7385f4..9a6af325 100755
--- a/dh
+++ b/dh
@@ -8,7 +8,6 @@ dh - debhelper command sequencer
use strict;
use Debian::Debhelper::Dh_Lib;
-use File::Spec;
=head1 SYNOPSIS
@@ -339,6 +338,7 @@ if ($dh{LIST}) {
my %addons;
for my $inc (@INC) {
+ eval q{use File::Spec};
my $path = File::Spec->catdir($inc, "Debian/Debhelper/Sequence");
if (-d $path) {
for my $module_path (glob "$path/*.pm") {