summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-11-11 08:08:29 +0000
committerNiels Thykier <niels@thykier.net>2017-11-11 08:08:29 +0000
commit0ff7d9c44b153c5536cb43a71a34bc35154b026b (patch)
tree1db7ea43daa02a6c580677718cfdab08b9d2b3b1 /dh
parentbb73623fcf1775b6c5f9de0838e4f33f8caa18c5 (diff)
downloaddebhelper-0ff7d9c44b153c5536cb43a71a34bc35154b026b.tar.gz
Replace some string evals with a simple require
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh b/dh
index d492f285..3d268268 100755
--- a/dh
+++ b/dh
@@ -540,7 +540,7 @@ sub list_addons {
my %addons;
for my $inc (@INC) {
- eval q{use File::Spec};
+ require File::Spec;
my $path = File::Spec->catdir($inc, "Debian/Debhelper/Sequence");
if (-d $path) {
for my $module_path (glob "$path/*.pm") {