cookutils diff cook @ rev 621
cook.conf: need tazlito to build flavors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 12 11:36:09 2013 +0000 (2013-12-12) |
parents | 1769038308f3 |
children | 411b4c392b46 |
line diff
1.1 --- a/cook Thu Dec 05 22:23:26 2013 +0000 1.2 +++ b/cook Thu Dec 12 11:36:09 2013 +0000 1.3 @@ -951,7 +951,7 @@ 1.4 loglimit() 1.5 { 1.6 if [ -n "$DEFAULT_LOG_LIMIT" ]; then 1.7 - tee /dev/stderr | dd bs=1k count=$((1024*${1:-$DEFAULT_LOG_LIMIT})) conv=noerror 2> /dev/null 1.8 + tee /dev/stderr | head -qc ${1:-$DEFAULT_LOG_LIMIT}m 1.9 else 1.10 tee /dev/stderr 1.11 fi