From 4111718032b2c030c8c959f4ece2b2b45449bb29 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 11 Nov 2015 15:43:54 +0100 Subject: reproducible: improve job output --- bin/reproducible_html_repository_comparison.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index 055eb064..2de8ab04 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -30,10 +30,10 @@ write_row() { } custom_curl() { - echo "$(date -u) - downloading $1 to $2" + echo -n "$(date -u) - downloading $1 to $2 - " curl -s $1 > $2 local SIZE=$(ls -la $2 |cut -d " " -f5) - echo "$(date -u) - downloaded $SIZE bytes." + echo "$SIZE bytes." } ARCH="amd64" @@ -228,8 +228,8 @@ for PKG in $SOURCEPKGS ; do write_row " $CSID" write_row " $CEXP" write_row "" - echo "$(date -u ) - TABLE_TODO: $(ls -la $TABLE_TODO)" - echo "$(date -u ) - TABLE_DONE: $(ls -la $TABLE_DONE)" + echo "TABLE_TODO: $(ls -la $TABLE_TODO|cut -d " " -f5) bytes" + echo "TABLE_DONE: $(ls -la $TABLE_DONE|cut -d " " -f5) bytes" done cat $TABLE_TODO >> $PAGE write_page "

" -- cgit v1.2.3-70-g09d2