[gpsbabel] Extend "chmod a-x" fix to source files in subdirs
Hans Ulrich Niedermann
ndim at fedoraproject.org
Tue Jan 11 19:25:45 UTC 2011
commit acc01f581e42daae422d5e2831f86eab340ff48c
Author: Hans Ulrich Niedermann <hun at n-dimensional.de>
Date: Tue Jan 11 20:22:50 2011 +0100
Extend "chmod a-x" fix to source files in subdirs
gpsbabel.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gpsbabel.spec b/gpsbabel.spec
index f7b6fc5..2a7b02b 100644
--- a/gpsbabel.spec
+++ b/gpsbabel.spec
@@ -59,7 +59,8 @@ rm -rf shapelib
cp -p %{SOURCE21} style3.css
# fix bad execute perms
-%{__chmod} a-x *.c *.h
+find . -type f \( -name '*.c' -or -name '*.h' -or -name '*.cpp' \) -print0 |
+ xargs -0 chmod a-x
%build
%configure --with-zlib=system --with-doc=./manual
More information about the scm-commits
mailing list