From: Chengwei Yang Date: Wed, 25 Sep 2013 06:17:21 +0000 (+0800) Subject: Use 'cp' instead of 'cp -av' to fix portable issue X-Git-Tag: dbus-1.7.6~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6;p=thirdparty%2Fdbus.git 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 --- diff --git a/autogen.sh b/autogen.sh index 5d02a1790..b9046879c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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