[gengetopt] fix chmod command

Peter Robinson pbrobinson at fedoraproject.org
Sat May 5 19:51:33 UTC 2012


commit 9a485c3ac03edf3892c9c2b4421d54e82ea9c233
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat May 5 20:51:22 2012 +0100

    fix chmod command

 gengetopt.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gengetopt.spec b/gengetopt.spec
index 57aa32c..eee7538 100644
--- a/gengetopt.spec
+++ b/gengetopt.spec
@@ -35,11 +35,11 @@ chmod 644 ./doc/README.example
 chmod 644 ./doc/index.html
 chmod 644 ./src/parser.yy
 chmod 644 ./src/scanner.ll
-chmod 644 `find . -name "*.c" -perm /111 -print`
-chmod 644 `find . -name "*.cc" -perm /111 -print`
-chmod 644 `find . -name "*.cpp" -perm /111 -print`
-chmod 644 `find . -name "*.h" -perm /111 -print`
-chmod 644 `find . -name "*.ggo" -perm /111 -print`
+find . -name '*.c' -exec chmod 644 {} ';'
+find . -name '*.cc' -exec chmod 644 {} ';'
+find . -name '*.cpp' -exec chmod 644 {} ';'
+find . -name '*.h' -exec chmod 644 {} ';'
+find . -name '*.ggo' -exec chmod 644 {} ';'
 
 %build
 %configure --docdir=%{_docdir}/%{name}-%{version}


More information about the scm-commits mailing list