aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-11-16 12:45:14 +0000
committerWerner Koch <[email protected]>2012-11-16 12:45:14 +0000
commitcd6de92f42cb6e5b85bc376d5544496cb4d6a88a (patch)
tree13ef0a88522756ec15b13c56b62acee94b49aab4 /autogen.sh
parentMake _gpgme_encode_percent_string work for memory buffers. (diff)
downloadgpgme-cd6de92f42cb6e5b85bc376d5544496cb4d6a88a.tar.gz
gpgme-cd6de92f42cb6e5b85bc376d5544496cb4d6a88a.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 1f22367c..abcfc278 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -261,14 +261,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