# HG changeset patch # User Pascal Bellard # Date 1380100413 0 # Node ID 7615b64a546900281349335f981ba4d6a697982c # Parent 33a04f14532cdce6be91df3d15cb5a1fee66a144 cook: update error triggers diff -r 33a04f14532c -r 7615b64a5469 cook --- a/cook Tue Sep 24 13:48:42 2013 +0000 +++ b/cook Wed Sep 25 09:13:33 2013 +0000 @@ -351,7 +351,7 @@ ^ERROR ^$lerror "No package" "cp: can't" "can't open" "can't cd" \ "error:" "fatal error:" "undefined reference to" \ "Unable to connect to" "link: cannot find the library" \ - "CMake Error" "No such file or directory" + "CMake Error" ": No such file or directory" do fgrep "$error" $LOGS/$pkg.log done @@ -1495,8 +1495,8 @@ # Exit if any error in packing. lerror=$(_n "ERROR") - if grep -Ev "(/root/.cvspass|conftest|df: /)" $LOGS/$pkg.log | \ - grep -Eq "(^$lerror|No such file or directory|not remade because of errors)"; then + if grep -Ev "(/root/.cvspass|conftest|df: /|rm: can't remove)" $LOGS/$pkg.log | \ + grep -Eq "(^$lerror|: No such file or directory|not remade because of errors)"; then debug_info | tee -a $LOGS/$pkg.log rm -f $command && exit 1 fi