From b96390fc9878db5c244256545f36fa14ea1f5276 Mon Sep 17 00:00:00 2001 From: Finn Thain Date: Fri, 21 Aug 2009 18:13:11 +1000 Subject: 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? --- bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap.sh') 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 -- cgit