# HG changeset patch # User Pascal Bellard # Date 1359276736 -3600 # Node ID 21033ee28b1541f725354242697f657964f96768 # Parent c46de2f71ce0fb9daea1abac9a673f9fd63794a3 cook: limit log size diff -r c46de2f71ce0 -r 21033ee28b15 cook --- a/cook Thu Jan 24 14:20:45 2013 +0000 +++ b/cook Sun Jan 27 09:52:16 2013 +0100 @@ -1343,10 +1343,10 @@ done # Cook and pack or exit on error and log everything. - cookit $@ 2>&1 | tee $LOGS/$pkg.log + cookit $@ 2>&1 | dd bs=1024k count=50 | tee $LOGS/$pkg.log remove_deps | tee -a $LOGS/$pkg.log cookit_quality - packit 2>&1 | tee -a $LOGS/$pkg.log + packit 2>&1 | dd bs=1024k count=5 |tee -a $LOGS/$pkg.log clean_log # Exit if any error in packing.