[debhelper-devel] [debhelper] 02/08: Dh_Lib: Migrate doit to internal file copy
Niels Thykier
nthykier at moszumanska.debian.org
Tue Jun 13 20:33:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit d4ff9948a615fc9855a326d16487b26a317ced5e
Author: Niels Thykier <niels at thykier.net>
Date: Tue Jun 13 17:11:04 2017 +0000
Dh_Lib: Migrate doit to internal file copy
---
Debian/Debhelper/Dh_Lib.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index ec8b49f..d764faf 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;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list