[debhelper-devel] [debhelper] 01/01: dh_installinfo: Merge two chmod calls into one
Niels Thykier
nthykier at moszumanska.debian.org
Sun Sep 17 08:10:17 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 4f273b3107123c8300966a87f344bacba108ab7b
Author: Niels Thykier <niels at thykier.net>
Date: Sun Sep 17 08:09:00 2017 +0000
dh_installinfo: Merge two chmod calls into one
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 2 ++
dh_installinfo | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 47258fa..3414e35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ debhelper (10.9) UNRELEASED; urgency=medium
(Closes: #626685)
* dh_gencontrol: Ensure that dbgsym packages do not inherit the
"Important" field.
+ * dh_installinfo: Merge two chmod calls into one to save a
+ fork+exec.
[ Felipe Sateler ]
* dh_systemd_enable: Refactor and add support for timer units.
diff --git a/dh_installinfo b/dh_installinfo
index b401c9d..8f48ecf 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -92,8 +92,7 @@ foreach my $package (getpackages()) {
if (@info) {
install_dir("$tmp/usr/share/info");
xargs(\@info, "cp", '--reflink=auto', XARGS_INSERT_PARAMS_HERE, "$tmp/usr/share/info");
- doit("chmod","-R", "go=rX","$tmp/usr/share/info/");
- doit("chmod","-R", "u+rw","$tmp/usr/share/info/");
+ doit("chmod","-R", "u+rw,go=rX","$tmp/usr/share/info/");
}
}
--
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