summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-06-26 13:17:26 +0000
committerNiels Thykier <niels@thykier.net>2017-06-26 13:17:26 +0000
commitd748f48e765733cc5a948b8e03580b45544acb3b (patch)
tree71e2e8883e01999fb990e6b1a772f73fb558982b
parent3d8a18251a391e35eb674fa73b7fbe678c04dd9c (diff)
downloaddebhelper-d748f48e765733cc5a948b8e03580b45544acb3b.tar.gz
dh_install: Throw away some redundant variables
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-xdh_install2
1 files changed, 0 insertions, 2 deletions
diff --git a/dh_install b/dh_install
index 61a4ce3d..1391af40 100755
--- a/dh_install
+++ b/dh_install
@@ -184,14 +184,12 @@ foreach my $package (getpackages()) {
my @filelist;
foreach my $glob (@$set) {
my @found = glob "$srcdir/$glob";
- my $glob_sd = $srcdir;
my $matched = 0;
if (! compat(6)) {
# Fall back to looking in debian/tmp.
if (! @found || ! (-e $found[0] || -l $found[0])) {
if ($glob !~ m{^(?:\./)?debian/tmp/}) {
@found = glob "debian/tmp/$glob";
- $glob_sd = 'debian/tmp';
}
}
}