# HG changeset patch # User Christopher Rogers # Date 1284828322 0 # Node ID 5f04c6d8da471ebd370810321f56414da633cb21 # Parent b084f9ed4a92fe4cc40ea27ae2b11a12efc47d80 Make sure package receipt exists before source in check_commit function. I hope this causes no problems. diff -r b084f9ed4a92 -r 5f04c6d8da47 tazbb/stuff/tazbb --- a/tazbb/stuff/tazbb Fri Sep 17 18:47:50 2010 +0000 +++ b/tazbb/stuff/tazbb Sat Sep 18 16:45:22 2010 +0000 @@ -378,9 +378,11 @@ do pkg=`echo $file | cut -d "/" -f 1` if ! grep -q ^$pkg$ $DB_DIR/cooklist; then - . $pkg/receipt - echo "Commit : $PACKAGE ($VERSION)" >> $DB_DIR/report - echo "$PACKAGE" >> $DB_DIR/cooklist + if [ -f $pkg/receipt ]; then + . $pkg/receipt + echo "Commit : $PACKAGE ($VERSION)" >> $DB_DIR/report + echo "$PACKAGE" >> $DB_DIR/cooklist + fi fi done packages_summary