[Sugar-devel] [PATCH] do not try to build appliance if live iso build failed

Simon Schampijer simon at schampijer.de
Wed Mar 25 12:39:53 EDT 2009


Alexander Boström wrote:
> 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

Awesome - thanks for the patch. Pushed it.

Regards,
    Simon


More information about the Sugar-devel mailing list