diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2009-08-21 18:13:11 +1000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-22 00:58:53 +0200 |
commit | b96390fc9878db5c244256545f36fa14ea1f5276 (patch) | |
tree | 79fd54e72a8bcf609d2320e17fcf33c830cb8cf2 /bootstrap.sh | |
parent | 15eb03a5b39f8c54328caa7516a7870bf977db40 (diff) |
Solaris: bootstrap portability
On Fri, 21 Aug 2009, Colin Guthrie wrote:
>
> Just put an echo statement in there too. Should cover the bases for everyone.
Something like this?
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 970e884e..c7c85823 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -47,9 +47,9 @@ case $(uname) in esac if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then - echo "Activating pre-commit hook." - cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit - chmod -v +x .git/hooks/pre-commit + cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ + chmod +x .git/hooks/pre-commit && \ + echo "Activated pre-commit hook." fi if [ -f .tarball-version ]; then |