[Sugar-devel] [PATCH] do not try to build appliance if live iso	build failed
    Alexander Boström 
    abo at stacken.kth.se
       
    Tue Mar 24 20:12:10 EDT 2009
    
    
  
For SoaS:
set -e is just "exit on error" which I think is the sane thing to do in 
any shell script.
---
  build |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/build b/build
index ddde4aa..c99a9dc 100755
--- a/build
+++ b/build
@@ -1,4 +1,7 @@
  #!/bin/bash
+set -e
+set -o pipefail
+
  python live.py
  python appliance.py
-- 
1.6.0.6
    
    
More information about the Sugar-devel
mailing list