cookutils rev 615 3.1.7
cook: update error triggers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 09:13:33 2013 +0000 (2013-09-25) |
parents | 33a04f14532c |
children | de5555641b8a |
files | cook |
line diff
1.1 --- a/cook Tue Sep 24 13:48:42 2013 +0000 1.2 +++ b/cook Wed Sep 25 09:13:33 2013 +0000 1.3 @@ -351,7 +351,7 @@ 1.4 ^ERROR ^$lerror "No package" "cp: can't" "can't open" "can't cd" \ 1.5 "error:" "fatal error:" "undefined reference to" \ 1.6 "Unable to connect to" "link: cannot find the library" \ 1.7 - "CMake Error" "No such file or directory" 1.8 + "CMake Error" ": No such file or directory" 1.9 do 1.10 fgrep "$error" $LOGS/$pkg.log 1.11 done 1.12 @@ -1495,8 +1495,8 @@ 1.13 1.14 # Exit if any error in packing. 1.15 lerror=$(_n "ERROR") 1.16 - if grep -Ev "(/root/.cvspass|conftest|df: /)" $LOGS/$pkg.log | \ 1.17 - grep -Eq "(^$lerror|No such file or directory|not remade because of errors)"; then 1.18 + if grep -Ev "(/root/.cvspass|conftest|df: /|rm: can't remove)" $LOGS/$pkg.log | \ 1.19 + grep -Eq "(^$lerror|: No such file or directory|not remade because of errors)"; then 1.20 debug_info | tee -a $LOGS/$pkg.log 1.21 rm -f $command && exit 1 1.22 fi