1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-23 20:08:04 +01: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 To deactivate this pre-commit hook again move .git/hooks/pre-commit
and .git/hooks/pre-commit.sample out of the way. and .git/hooks/pre-commit.sample out of the way.
EOF 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 chmod -c +x .git/hooks/pre-commit
fi fi
tmp=$(git config --get filter.cleanpo.clean) tmp=$(git config --get filter.cleanpo.clean)
@ -223,7 +223,7 @@ EOF
cat <<EOF >&2 cat <<EOF >&2
*** Activating commit log message check hook. *** *** Activating commit log message check hook. ***
EOF 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 chmod -c +x .git/hooks/commit-msg
fi fi
fi fi