[PATCH 3/5] Remove unportable -c flag from chmod call.

Thomas Klausner tk at giga.or.at
Sat Oct 27 19:56:09 CEST 2012


From: Thomas Klausner <wiz at NetBSD.org>

---
 scripts/autogen.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/autogen.sh b/scripts/autogen.sh
index d820696..6423483 100755
--- a/scripts/autogen.sh
+++ b/scripts/autogen.sh
@@ -272,14 +272,14 @@ if [ -d .git ]; then
     and .git/hooks/pre-commit.sample out of the way.
 EOF
       cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit
-      chmod -c +x  .git/hooks/pre-commit
+      chmod +x  .git/hooks/pre-commit
   fi
   if [ -f scripts/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
     cat <<EOF >&2
 *** Activating commit log message check hook. ***
 EOF
       cp -av scripts/git-hooks/commit-msg .git/hooks/commit-msg
-      chmod -c +x  .git/hooks/commit-msg
+      chmod +x  .git/hooks/commit-msg
   fi
   tmp=$(git config --get filter.cleanpo.clean)
   if [ "$tmp" != "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
-- 
1.7.12.2




More information about the Gnupg-devel mailing list