summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
Diffstat (limited to 'dh_perl')
-rwxr-xr-xdh_perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_perl b/dh_perl
index dc614e4..1220e08 100755
--- a/dh_perl
+++ b/dh_perl
@@ -91,14 +91,14 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
next unless $dep;
- if (-e "debian/$EXT\substvars") {
- open (IN, "<debian/$EXT\substvars");
+ if (-e "debian/${EXT}substvars") {
+ open (IN, "<debian/${EXT}substvars");
my @lines=grep { ! /^perl:Depends=/ } <IN>;
close IN;
- open (OUT, ">debian/$EXT\substvars");
+ open (OUT, ">debian/${EXT}substvars");
print OUT @lines;
} else {
- open (OUT, ">debian/$EXT\substvars");
+ open (OUT, ">debian/${EXT}substvars");
}
print OUT "perl:Depends=$dep\n";
close OUT;