diff options
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-x | dh_gencontrol | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dh_gencontrol b/dh_gencontrol index 32b85637..41e09cbe 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -65,11 +65,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } # Generate and install control file. - my @command="dpkg-gencontrol"; - if (getpackages() > 1) { - push @command, "-p$package"; - } - doit(@command, "-l$changelog", "-T$substvars", + doit("dpkg-gencontrol", "-p$package", "-l$changelog", "-T$substvars", "-P$tmp",@{$dh{U_PARAMS}}); # This chmod is only necessary if the user sets the umask to |