summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol5
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index 15e08203..0c03dfce 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -19,8 +19,9 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
}
# Generate and install control file.
- doit("dpkg-gencontrol","-l$changelog","-isp","-p$PACKAGE",
- "-Tdebian/${EXT}substvars","-P$TMP",@{$dh{U_PARAMS}});
+ doit("dpkg-gencontrol","-c".Debian::Debhelper::Dh_Lib::getcontrol(),
+ "-l$changelog","-isp","-p$PACKAGE","-Tdebian/${EXT}substvars",
+ "-P$TMP",@{$dh{U_PARAMS}});
# This chmod is only necessary if the user sets the umask to something odd.
doit("chmod","644","$TMP/DEBIAN/control");