summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-01-02 14:41:04 +0000
committerNiels Thykier <niels@thykier.net>2018-01-02 14:41:06 +0000
commiteb1bdee3ff729551267578c2716afcebd88b4365 (patch)
tree7975d5b035444c7fd1557baeb1ac7fba01084ea1 /dh
parent486dc1195346ed6aa35dae7e3ef35b4c4d37b7ee (diff)
downloaddebhelper-eb1bdee3ff729551267578c2716afcebd88b4365.tar.gz
dh: Ensure that $startpoint{$package} is defined
Thanks to James Cowgill for finding this bug.
Diffstat (limited to 'dh')
-rwxr-xr-xdh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh b/dh
index 0945d175..4e69bb2e 100755
--- a/dh
+++ b/dh
@@ -731,6 +731,10 @@ if (compat(9)) {
}
}
}
+} else {
+ foreach my $package (@packages) {
+ $startpoint{$package} = 0;
+ }
}
# Figure out what point in the sequence to go to.