[debhelper-devel] [debhelper] 10/11: dh_fixperms: Fix executable permissions settings
Niels Thykier
nthykier at moszumanska.debian.org
Sun Jan 7 21:38:03 UTC 2018
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to annotated tag Release_2.6.0
in repository debhelper.
commit a2657722e77af489436d759efef32c1b9e187a34
Author: Dan Nicholson <nicholson at endlessm.com>
Date: Mon Feb 8 12:48:09 2016 -0800
dh_fixperms: Fix executable permissions settings
Using variable interpolation within qw() is a no-go. Turn it into a real
array so that scripts in the various *bin directories are executable
again.
[endlessm/eos-shell#6290]
---
dh_fixperms | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_fixperms b/dh_fixperms
index 9ac6d6e..f165268 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -118,7 +118,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# v4 and up
if (! compat(3)) {
# Programs in the bin and init.d dirs should be executable..
- for my $dir (qw{$prefix/bin bin $prefix/sbin sbin $prefix/games $etcdir/init.d}) {
+ for my $dir ("$prefix/bin", "bin", "$prefix/sbin", "sbin", "$prefix/games", "$etcdir/init.d") {
if (-d "$tmp/$dir") {
complex_doit("find $tmp/$dir -type f $find_options -print0 2>/dev/null",
"| xargs -0r chmod a+x");
--
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