Fix bashism in autogen.sh.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2012 09:35:33 +0000 (10:35 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Apr 2013 18:28:55 +0000 (20:28 +0200)
--

The use of options for cp is not required.  Probably c+p cruft.

autogen.sh

index 646b8a0..6001707 100755 (executable)
@@ -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 <<EOF >&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