mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-31 21:40:11 +01:00
Use 'cp' instead of 'cp -av' to fix portable issue
Neither '-a' nor '-v' of 'cp' is available on OpenBSD 5.3, so use 'cp' instead to fix portable issue. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69789 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
3984f7d2b6
commit
6f47672f84
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ DIE=0
|
|||
|
||||
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
|
||||
echo "Activating pre-commit hook."
|
||||
cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit
|
||||
cp .git/hooks/pre-commit.sample .git/hooks/pre-commit
|
||||
chmod +x .git/hooks/pre-commit
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue