[pulseaudio-discuss] [PATCH 1/4] Solaris: bootstrap portability

Finn Thain fthain at telegraphics.com.au
Fri Aug 21 01:13:11 PDT 2009



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?

--- a/bootstrap.sh	Tue Aug 18 20:55:33 2009
+++ b/bootstrap.sh	Tue Aug 18 20:58:15 2009
@@ -47,9 +47,9 @@
 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

Finn

> 
> Col
> 
> 



More information about the pulseaudio-discuss mailing list