Commit 3984f7d2 authored by Chengwei Yang's avatar Chengwei Yang Committed by Simon McVittie

Use 'chmod' instead of 'chmod -c'

chmod -c is not available on *BSD system, and '-v' is not available on
OpenBSD, so just execute chmod without any option.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35881Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent c91305ff
......@@ -16,7 +16,7 @@ DIE=0
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
echo "Activating pre-commit hook."
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
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment