Fix non-portable use of chmod in autogen.sh.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2012 12:41:49 +0000 (13:41 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2012 12:41:49 +0000 (13:41 +0100)
* autogen.sh: Remove option -c from chmod.

autogen.sh

index e4201aa..edfe870 100755 (executable)
@@ -260,14 +260,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 build-aux/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
     cat <<EOF >&2
 *** Activating commit log message check hook. ***
 EOF
       cp -av build-aux/git-hooks/commit-msg .git/hooks/commit-msg
-      chmod -c +x  .git/hooks/commit-msg
+      chmod +x  .git/hooks/commit-msg
   fi
 fi