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?
This commit is contained in:
Finn Thain 2009-08-21 18:13:11 +10:00 committed by Lennart Poettering
parent 15eb03a5b3
commit b96390fc98

View file

@ -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