cookutils diff web/cooker.cgi @ rev 64

cook: save 4 lines and think before next time...
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 07 16:33:12 2011 +0200 (2011-05-07)
parents 8fc5b2a08f0e
children ffb061b0826f
line diff
     1.1 --- a/web/cooker.cgi	Fri May 06 16:14:39 2011 +0200
     1.2 +++ b/web/cooker.cgi	Sat May 07 16:33:12 2011 +0200
     1.3 @@ -94,7 +94,7 @@
     1.4  		fi
     1.5  		echo '</div>'
     1.6  
     1.7 -		# Check for a log file and display summary if exist.
     1.8 +		# Check for a log file and display summary if it exists.
     1.9  		if [ -f "$log" ]; then
    1.10  			if fgrep -q "Summary " $LOGS/$pkg.log; then
    1.11  				if fgrep -q "cook:$pkg$" $command; then