cookutils diff cook @ rev 612
cook: remove some error triggers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 09:14:14 2013 +0000 (2013-09-24) |
parents | b96cd6a6f37b |
children | 14aa9f620432 |
line diff
1.1 --- a/cook Sun Sep 22 12:57:55 2013 +0200 1.2 +++ b/cook Tue Sep 24 09:14:14 2013 +0000 1.3 @@ -1495,7 +1495,8 @@ 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|not remade because of errors)" $LOGS/$pkg.log; then 1.8 + if grep -Ev "(/root/.cvspass|conftest|df: /)" $LOGS/$pkg.log | \ 1.9 + grep -Eq "(^$lerror|No such file or directory|not remade because of errors)"; then 1.10 debug_info | tee -a $LOGS/$pkg.log 1.11 rm -f $command && exit 1 1.12 fi