summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
authorjoey <joey>2000-05-01 06:55:13 +0000
committerjoey <joey>2000-05-01 06:55:13 +0000
commited3d818b3755ec078027986b2ae0039076543df1 (patch)
tree3678d2a0b2055de712441b75dd6076fc9d6ba686 /dh_perl
parent80bbc454e4bedfdc8c9ca58e87f05ca288342945 (diff)
r346: some perl 5.6 issues
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;