diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-09-25 14:17:21 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-25 13:42:10 +0100 |
commit | 6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6 (patch) | |
tree | 3dae2690e37459bd5b7410e9f91468cfc09ad5f8 /autogen.sh | |
parent | 3984f7d2b607a1cdd9a9fa6148e9c24b8db5d0e9 (diff) | |
download | dbus-6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6.tar.gz dbus-6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6.tar.bz2 dbus-6f47672f84b8ccfe7642aca1fd43eedcf2ef18f6.zip |
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>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 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 |