aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-11-06 15:21:52 +0000
committerWerner Koch <[email protected]>2012-11-06 15:21:52 +0000
commitbb4df020fe1c50698aab8c9bf6b11bc3725f785d (patch)
tree4347e210e38feb9df2fc6baf507b947385dbd47f
parentUpdate translations to adjust for typo fixes (diff)
downloadgnupg-bb4df020fe1c50698aab8c9bf6b11bc3725f785d.tar.gz
gnupg-bb4df020fe1c50698aab8c9bf6b11bc3725f785d.zip
autogen.sh: Do not use -c with chmod.
--
-rwxr-xr-xscripts/autogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/autogen.sh b/scripts/autogen.sh
index d820696bb..6423483ff 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}'" ]