summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-11-16 10:36:53 +0100
committerWerner Koch <wk@gnupg.org>2012-11-16 10:41:22 +0100
commite7bc5012c568da9ceb0a80a8f3fe3edf3dac9564 (patch)
tree7616a916920eb19cec871d978820bbc98253c5bc /autogen.sh
parentImprove parsing of the GIT revision number. (diff)
downloadgnupg2-e7bc5012c568da9ceb0a80a8f3fe3edf3dac9564.tar.xz
gnupg2-e7bc5012c568da9ceb0a80a8f3fe3edf3dac9564.zip
Fix non-portable use of chmod in autogen.sh.
* autogen.sh: Remove option -c from chmod.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 0ec134d69..dcb383455 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -287,7 +287,7 @@ 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
tmp=$(git config --get filter.cleanpo.clean)
if [ "$tmp" != "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
@@ -301,7 +301,7 @@ EOF
*** 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
fi