From 99a25e318a3e38910aa6ebba2495e3b38ed7522e Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 25 Sep 2013 14:03:17 +0800 Subject: [PATCH v2] 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=35881 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index b049f4e..1e41782 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 || { -- 1.7.9.5