summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-07-12 19:35:11 +0000
committerNiels Thykier <niels@thykier.net>2017-07-12 19:44:06 +0000
commit378dfa200576c1823241f47fff88224a051a0a68 (patch)
treeb8c33d7fcbba160cf0b2378adfd70b5e9089772e /dh_gencontrol
parent7db95f249b2d71e41d0712136ecf281a328d5993 (diff)
downloaddebhelper-378dfa200576c1823241f47fff88224a051a0a68.tar.gz
reset_perm_and_owner: Use perl functions instead of fork+exec
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index aae4b222..790f733c 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -128,7 +128,7 @@ on_pkgs_in_parallel {
doit("dpkg-gencontrol", "-p${package}", "-l$changelog", "-T$substvars",
"-P${dbgsym_tmp}",@{$dh{U_PARAMS}}, @dbgsym_options);
- reset_perm_and_owner('0644', "${dbgsym_tmp}/DEBIAN/control");
+ reset_perm_and_owner(0644, "${dbgsym_tmp}/DEBIAN/control");
} elsif ($build_ids) {
# Only include the build-id if there is no dbgsym package (if
# there is a dbgsym package, the build-ids into the control
@@ -147,7 +147,7 @@ on_pkgs_in_parallel {
# This chmod is only necessary if the user sets the umask to
# something odd.
- reset_perm_and_owner('0644', "${tmp}/DEBIAN/control");
+ reset_perm_and_owner(0644, "${tmp}/DEBIAN/control");
}
};