make ./publish stop when something fails
Roger Dingledine

Roger Dingledine commited on 2006-09-18 16:59:25
Zeige 1 geänderte Dateien mit 3 Einfügungen und 4 Löschungen.

... ...
@@ -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.
11 10