summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-08-22 19:31:40 +0200
committerNiels Thykier <niels@thykier.net>2015-08-22 19:35:30 +0200
commita5c00fcffdca6e97556ef03477c52fe307fb1f5d (patch)
tree104ac76a520c977d6286ec5e18cd25062847f2b2 /dh_gencontrol
parent7e65a95bb2dddcbf8a0d446d85cdd8010ede668e (diff)
downloaddebhelper-a5c00fcffdca6e97556ef03477c52fe307fb1f5d.tar.gz
dh_gencontrol: Fix some style nits
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol3
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index ff205e04..8166a577 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}");
}