Browse code

make ./publish stop when something fails

Roger Dingledine authored on18/09/2006 16:59:25
Showing1 changed files
... ...
@@ -1,10 +1,9 @@
1 1
 #!/bin/sh
2
-svn update
3
-make
4
-# XXX should check whether make fails
2
+svn update && \
3
+make && \
5 4
 
6 5
 # don't copy over stuff with permissions that make it useless
7
-chmod a+r * -R
6
+chmod a+r * -R && \
8 7
 
9 8
 ## I'm not comfortable having arbitrary people use --delete yet,
10 9
 ## since if they screw up it'll blow away arbitrary things.