[debhelper-devel] [debhelper] 04/07: dh_gencontrol: Fix some style nits

Niels Thykier nthykier at moszumanska.debian.org
Sat Aug 22 17:35:36 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit a5c00fcffdca6e97556ef03477c52fe307fb1f5d
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Aug 22 19:31:40 2015 +0200

    dh_gencontrol: Fix some style nits
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_gencontrol | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dh_gencontrol b/dh_gencontrol
index ff205e0..8166a57 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -79,7 +79,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		complex_doit("echo misc:Pre-Depends= >> $substvars");
 	}
 
-	my $build_ids = undef;
+	my (@debug_info_params, $build_ids);
 	if ( -d $ddeb_info_dir ) {
 		$build_ids = read_ddeb_build_ids($ddeb_info_dir);
 	}
@@ -123,7 +123,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		doit("chown","0:0","${ddeb_tmp}/DEBIAN/control");
 	}
 
-	my @debug_info_params = ();
 	if ($build_ids) {
 		push(@debug_info_params, "-DX-Build-Ids=${build_ids}");
 	}

-- 
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