From 44ded889e7d62cab3f531b616cedd6284d6b58a3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 16 Nov 2012 10:35:33 +0100 Subject: [PATCH] Fix bashism in autogen.sh. -- The use of options for cp is not required. Probably c+p cruft. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 646b8a0da..60017073e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -209,7 +209,7 @@ if [ -d .git ]; then To deactivate this pre-commit hook again move .git/hooks/pre-commit and .git/hooks/pre-commit.sample out of the way. EOF - cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit + cp .git/hooks/pre-commit.sample .git/hooks/pre-commit chmod -c +x .git/hooks/pre-commit fi tmp=$(git config --get filter.cleanpo.clean) @@ -223,7 +223,7 @@ EOF cat <&2 *** Activating commit log message check hook. *** EOF - cp -av scripts/git-hooks/commit-msg .git/hooks/commit-msg + cp scripts/git-hooks/commit-msg .git/hooks/commit-msg chmod -c +x .git/hooks/commit-msg fi fi