diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-09-25 14:09:19 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-25 13:41:46 +0100 |
commit | 3984f7d2b607a1cdd9a9fa6148e9c24b8db5d0e9 (patch) | |
tree | 22bc44e00cb3f09c2c1f680884885a598642e828 | |
parent | c91305ff271b8f1b8a86aae208f95107a3e56994 (diff) | |
download | dbus-3984f7d2b607a1cdd9a9fa6148e9c24b8db5d0e9.tar.gz |
Use 'chmod' instead of 'chmod -c'
chmod -c is not available on *BSD system, and '-v' is not available on
OpenBSD, so just execute chmod without any option.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35881
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,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 - chmod -c +x .git/hooks/pre-commit + chmod +x .git/hooks/pre-commit fi (autoconf --version) < /dev/null > /dev/null 2>&1 || { |