diff options
author | Niels Thykier <niels@thykier.net> | 2017-06-13 17:11:04 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-06-13 17:11:04 +0000 |
commit | d4ff9948a615fc9855a326d16487b26a317ced5e (patch) | |
tree | 462cf101a5dbabfe836c53cc52b115b4f470b6ac | |
parent | 8b8dc96abb9b1596c3685a9ae69816654489c99f (diff) | |
download | debhelper-d4ff9948a615fc9855a326d16487b26a317ced5e.tar.gz |
Dh_Lib: Migrate doit to internal file copy
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 3 |
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; } |