# HG changeset patch # User Pascal Bellard # Date 1298763802 -3600 # Node ID 46bd3d58013d031711b7890048321c76aa1b8149 # Parent e42e9b83b14e45b2dddab098e48401734026514f tazwok: abort on any genpkg_rules error (again) diff -r e42e9b83b14e -r 46bd3d58013d tazwok --- a/tazwok Sun Feb 27 00:22:11 2011 +0100 +++ b/tazwok Sun Feb 27 00:43:22 2011 +0100 @@ -952,14 +952,12 @@ # the package. report step "Building $PACKAGE with the receipt" report open-bloc - if fgrep -q ^genpkg_rules $RECEIPT; then + if grep -q ^genpkg_rules $RECEIPT; then # Log process. echo "executing genpkg_rules" >> $LOG report step "Executing genpkg_rules" - set -e - genpkg_rules - set +e + ( set -e; genpkg_rules ) || return 1 report end-step check_fsh cd $WOK/$PACKAGE