[debhelper-devel] [debhelper] 03/03: dh_install: Throw away some redundant variables

Niels Thykier nthykier at moszumanska.debian.org
Mon Jun 26 13:17:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit d748f48e765733cc5a948b8e03580b45544acb3b
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Jun 26 13:17:26 2017 +0000

    dh_install: Throw away some redundant variables
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_install | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dh_install b/dh_install
index 61a4ce3..1391af4 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';
 					}
 				}
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list