tazwok rev 373
tazwok: abort on any genpkg_rules error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 00:22:11 2011 +0100 (2011-02-27) |
parents | 4d832983de28 |
children | 46bd3d58013d |
files | tazwok |
line diff
1.1 --- a/tazwok Sat Feb 26 21:12:33 2011 +0100 1.2 +++ b/tazwok Sun Feb 27 00:22:11 2011 +0100 1.3 @@ -952,12 +952,14 @@ 1.4 # the package. 1.5 report step "Building $PACKAGE with the receipt" 1.6 report open-bloc 1.7 - if grep -q ^genpkg_rules $RECEIPT; then 1.8 + if fgrep -q ^genpkg_rules $RECEIPT; then 1.9 1.10 # Log process. 1.11 echo "executing genpkg_rules" >> $LOG 1.12 report step "Executing genpkg_rules" 1.13 + set -e 1.14 genpkg_rules 1.15 + set +e 1.16 report end-step 1.17 check_fsh 1.18 cd $WOK/$PACKAGE