# HG changeset patch # User Pascal Bellard # Date 1283685337 -7200 # Node ID df6ec809759b3be83983ab7279becae11e319f86 # Parent 9e8cd8926035f03a26737b641cab2035905d5fe2 tazbb: no lock for check-receipt diff -r 9e8cd8926035 -r df6ec809759b tazbb/stuff/tazbb --- a/tazbb/stuff/tazbb Sun Sep 05 12:43:51 2010 +0200 +++ b/tazbb/stuff/tazbb Sun Sep 05 13:15:37 2010 +0200 @@ -29,7 +29,7 @@ # Let tazbb finish is work and make sure needed files exist. if [ -f $LOCK_FILE ]; then case $1 in - usage|list-*|*block) + usage|list-*|*block|check-receipt) continue ;; *) echo -e "\nTazbb is already running and locked...\n" @@ -903,7 +903,6 @@ cd - > /dev/null } -return_status=0 case "$1" in list-pkgs) # List last cooked packages. @@ -1021,7 +1020,7 @@ check_variables $2 && check_wanted_version $2 && check_build_depends $2 "" - return_status=$? ;; + return $? ;; check-depends) case "$2" in wok) @@ -1058,4 +1057,4 @@ echo "" > $DB_DIR/running rm -f $LOCK_FILE /tmp/files.list.tazbb$$ -exit $return_status +exit 0