cookutils rev 608

cook: track more errors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 19:06:16 2013 +0000 (2013-08-12)
parents 9899fbd15073
children 8b20c920b718
files cook
line diff
     1.1 --- a/cook	Sun Aug 11 08:36:57 2013 +0000
     1.2 +++ b/cook	Mon Aug 12 19:06:16 2013 +0000
     1.3 @@ -1491,7 +1491,7 @@
     1.4  
     1.5  		# Exit if any error in packing.
     1.6  		lerror=$(_n "ERROR")
     1.7 -		if grep -Eq "(^$lerror|No such file or directory)" $LOGS/$pkg.log; then
     1.8 +		if grep -Eq "(^$lerror|No such file or directory|not remade because of errors)" $LOGS/$pkg.log; then
     1.9  			debug_info | tee -a $LOGS/$pkg.log
    1.10  			rm -f $command && exit 1
    1.11  		fi