From c393ce096b3088b0ae579ef7f88311d73d6d493a Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 25 Sep 2013 14:17:21 +0800 Subject: [PATCH] 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 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 5d02a17..b904687 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 -- 1.7.9.5