summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-06-13 17:11:04 +0000
committerNiels Thykier <niels@thykier.net>2017-06-13 17:11:04 +0000
commitd4ff9948a615fc9855a326d16487b26a317ced5e (patch)
tree462cf101a5dbabfe836c53cc52b115b4f470b6ac
parent8b8dc96abb9b1596c3685a9ae69816654489c99f (diff)
downloaddebhelper-d4ff9948a615fc9855a326d16487b26a317ced5e.tar.gz
Dh_Lib: Migrate doit to internal file copy
-rw-r--r--Debian/Debhelper/Dh_Lib.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index ec8b49f0..d764faf7 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -1465,8 +1465,7 @@ sub install_dh_config_file {
# Set the mtime (and atime) to ensure reproducibility.
utime($sstat[9], $sstat[9], $target);
} else {
- my $str_mode = sprintf('%#4o', $mode);
- doit('install', '-p', "-m${str_mode}", $source, $target);
+ _install_file_to_path($mode, $source, $target);
}
return 1;
}