[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8469: weasel gave me a less ugly shell hack (website/trunk)



Author: arma
Date: 2006-09-23 12:55:47 -0400 (Sat, 23 Sep 2006)
New Revision: 8469

Modified:
   website/trunk/publish
Log:
weasel gave me a less ugly shell hack


Modified: website/trunk/publish
===================================================================
--- website/trunk/publish	2006-09-23 08:05:55 UTC (rev 8468)
+++ website/trunk/publish	2006-09-23 16:55:47 UTC (rev 8469)
@@ -1,9 +1,11 @@
 #!/bin/sh
-svn update && \
-make && \
+set -e # stop if we encounter an error
 
+svn update
+make
+
 # don't copy over stuff with permissions that make it useless
-chmod a+r * -R && \
+chmod a+r * -R
 
 ## I'm not comfortable having arbitrary people use --delete yet,
 ## since if they screw up it'll blow away arbitrary things.