cookutils rev 752
cook: catch more errors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:14:29 2015 +0200 (2015-09-21) |
parents | 08ad52d1ff04 |
children | 5ebf7a7f1bf4 |
files | cook |
line diff
1.1 --- a/cook Sun Sep 20 13:00:39 2015 +0200 1.2 +++ b/cook Mon Sep 21 11:14:29 2015 +0200 1.3 @@ -1838,7 +1838,7 @@ 1.4 # Exit if any error in packing. 1.5 lerror=$(_n 'ERROR') 1.6 if grep -Ev "(/root/.cvspass|conftest|df: /|rm: can't remove)" $LOGS/$pkg.log | \ 1.7 - grep -Eq "(^$lerror|: No such file or directory|not remade because of errors)"; then 1.8 + grep -Eq "(^$lerror|: No such file or directory|not remade because of errors|ake: \*\*\* .* Error)"; then 1.9 debug_info | tee -a $LOGS/$pkg.log 1.10 rm -f $command 1.11 exit 1