1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-31 22:18:03 +02:00

Fix bashism in autogen.sh.

--

The use of options for cp is not required.  Probably c+p cruft.
This commit is contained in:
Werner Koch 2012-11-16 10:35:33 +01:00
parent abbee36cff
commit 44ded889e7

View File

@ -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