From 378dfa200576c1823241f47fff88224a051a0a68 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 12 Jul 2017 19:35:11 +0000 Subject: reset_perm_and_owner: Use perl functions instead of fork+exec Signed-off-by: Niels Thykier --- dh_gencontrol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dh_gencontrol') 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"); } }; -- cgit v1.2.3