From 0f0f1fd79c387aa4e3789323276fd228ef284395 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 6 Mar 2011 20:16:56 +0100 Subject: [PATCH] Don't use the non-standard -c option when chmod'ing the pre-commit git hook --- autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/autogen.sh b/autogen.sh index f4a1de7..b6b4f27 100755 --- a/autogen.sh +++ b/autogen.sh @@ -267,7 +267,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}'" ] -- 1.7.4.1