mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
autogen.sh: Do not use -c with chmod.
--
This commit is contained in:
parent
a1856e767a
commit
bb4df020fe
@ -272,14 +272,14 @@ if [ -d .git ]; then
|
|||||||
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 -av .git/hooks/pre-commit.sample .git/hooks/pre-commit
|
||||||
chmod -c +x .git/hooks/pre-commit
|
chmod +x .git/hooks/pre-commit
|
||||||
fi
|
fi
|
||||||
if [ -f scripts/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
|
if [ -f scripts/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
|
||||||
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 -av scripts/git-hooks/commit-msg .git/hooks/commit-msg
|
||||||
chmod -c +x .git/hooks/commit-msg
|
chmod +x .git/hooks/commit-msg
|
||||||
fi
|
fi
|
||||||
tmp=$(git config --get filter.cleanpo.clean)
|
tmp=$(git config --get filter.cleanpo.clean)
|
||||||
if [ "$tmp" != "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
|
if [ "$tmp" != "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user