# HG changeset patch # User Pascal Bellard # Date 1376210217 0 # Node ID 9899fbd15073816e5d9448a4a0b4613b92078224 # Parent 2bc594a716167f6b7c0f9b8f8eacb4edf4c17656 The directories install taz & source may not exist diff -r 2bc594a71616 -r 9899fbd15073 cook --- a/cook Wed Aug 07 16:39:45 2013 +0000 +++ b/cook Sun Aug 11 08:36:57 2013 +0000 @@ -511,7 +511,7 @@ [ "$QA" ] && receipt_quality cd $pkgdir - rm -rf install taz source + rm -rf install taz source 2> /dev/null # Disable -pipe if less than 512Mb free RAM. free=$(free | fgrep '/+ buffers' | tr -s ' ' | cut -f 4 -d ' ') diff -r 2bc594a71616 -r 9899fbd15073 web/cooker.cgi --- a/web/cooker.cgi Wed Aug 07 16:39:45 2013 +0000 +++ b/web/cooker.cgi Sun Aug 11 08:36:57 2013 +0000 @@ -110,7 +110,7 @@ # Optional full list button more_button() { - [ $(wc -l ${3:-$CACHE/$1} | awk '{ print $1 }') -gt ${4:-12} ] && + [ $(wc -l < ${3:-$CACHE/$1}) -gt ${4:-12} ] && echo "$2" }