# HG changeset patch # User Christophe Lincoln # Date 1306200750 -7200 # Node ID e403679496d9a3ba7988236bac4e4136651f255c # Parent c734b58c9a9198ae3e030a50fcb147a186d6af37 cook: dont try to pack if WANTED is blocked or broken diff -r c734b58c9a91 -r e403679496d9 cook --- a/cook Tue May 24 02:36:44 2011 +0200 +++ b/cook Tue May 24 03:32:30 2011 +0200 @@ -965,8 +965,15 @@ # Check if wanted is built now so we have separate log files. if [ "$WANTED" ] && [ ! -d "$WOK/$WANTED/install" ]; then - if ! grep -q "^$WANTED$" $broken; then - cook "$WANTED" + if grep -q "^$WANTED$" $blocked; then + echo "WANTED package is blocked: $WANTED" | tee -a $LOGS/$pkg.log + exit 1 + fi + if grep -q "^$WANTED$" $broken; then + echo "WANTED package is broken: $WANTED" | tee -a $LOGS/$pkg.log + exit 1 + else + cook "$WANTED" || exit 1 fi fi diff -r c734b58c9a91 -r e403679496d9 data/receipt --- a/data/receipt Tue May 24 02:36:44 2011 +0200 +++ b/data/receipt Tue May 24 03:32:30 2011 +0200 @@ -15,7 +15,7 @@ # Rules to configure and make the package. compile_rules() { - ./configure && make && make install + ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.