cookutils diff cook @ rev 18

Add some cook date and display cooklist in web interface
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 05 19:09:32 2011 +0200 (2011-05-05)
parents c3c30b1506b8
children a7f0d97a9ccc
line diff
     1.1 --- a/cook	Thu May 05 17:45:44 2011 +0200
     1.2 +++ b/cook	Thu May 05 19:09:32 2011 +0200
     1.3 @@ -198,14 +198,16 @@
     1.4  	fs=$(du -sh taz/* | awk '{print $1}')
     1.5  	size=$(du -sh $PKGS/$PACKAGE-${VERSION}*.tazpkg | awk '{print $1}')
     1.6  	files=$(cat taz/$PACKAGE-*/files.list | wc -l)
     1.7 +	cookdate=$(date "+%Y-%m-%d %H:%M")
     1.8  	gettext "Summary for:"; echo " $PACKAGE $VERSION"
     1.9  	separator
    1.10  	[ "$prod" ] && echo "Produce    : $prod"
    1.11  	cat << EOT
    1.12  Packed     : $fs
    1.13  Compressed : $size
    1.14 +Files      : $files
    1.15  Cook time  : ${time}s
    1.16 -Files      : $files
    1.17 +Cook date  : $cookdate
    1.18  $(separator)
    1.19  
    1.20  EOT
    1.21 @@ -672,7 +674,7 @@
    1.22  		# Finally we DONT WANT to build the *-dev or packages with WANTED="$pkg"
    1.23  		# You want automation: use the Cooker Build Bot.
    1.24  		#[ -d "$WOK/$pkg-dev" ] && cook $pkg-dev
    1.25 -		;;
    1.26 +		rm -f $command ;;
    1.27  esac
    1.28  
    1.29  exit 0