From 6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 25 Sep 2013 14:17:21 +0800 Subject: 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 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 5d02a179..b9046879 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 -- cgit v1.2.1