cookutils rev 489

cooker: Use $commits, $blocked, and $broken variables.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 12 10:27:31 2012 +0000 (2012-06-12)
parents 0762b86d665f
children a13f21acf937
files cooker
line diff
     1.1 --- a/cooker	Tue Jun 12 10:22:36 2012 +0000
     1.2 +++ b/cooker	Tue Jun 12 10:27:31 2012 +0000
     1.3 @@ -386,7 +386,7 @@
     1.4  	*)
     1.5  		# Default is to cook all commits if not yet running.
     1.6  		[ "$1" ] && usage
     1.7 -		cooklist=$CACHE/commits
     1.8 +		cooklist=$commits
     1.9  		if [ -f "$pidfile" ]; then
    1.10  			pid=$(cat $pidfile)
    1.11  			if [ -s /proc/$pid/status ]; then
    1.12 @@ -460,7 +460,7 @@
    1.13  				echo "Removing package: $pkg" | log_commits
    1.14  				. $wok/$pkg/receipt
    1.15  				rm -rf $PKGS/$PACKAGE-$VERSION* $wok/$pkg $LOGS/$pkg.log
    1.16 -				sed -i "/^${pkg}$/"d $CACHE/blocked $CACHE/broken $commits.tmp
    1.17 +				sed -i "/^${pkg}$/"d $blocked $broken $commits.tmp
    1.18  			fi
    1.19  		done
    1.20