From b0d2959b211baa981f6abb21122e674f46565ca6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 19 Dec 2015 12:31:02 +0100 Subject: reproducible archlinux+rpms: show log file size --- bin/reproducible_html_archlinux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_html_archlinux.sh') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 11f62baa..1774127b 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -33,6 +33,7 @@ HTML_UNKNOWN=$(mktemp -t rhtml-archlinux-XXXXXXXX) HTML_BUFFER=$(mktemp -t rhtml-archlinux-XXXXXXXX) HTML_TARGET="" HTML_REPOSTATS=$(mktemp -t rhtml-archlinux-XXXXXXXX) +SIZE="" for REPOSITORY in $ARCHLINUX_REPOS ; do echo "$(date -u) - starting to analyse build results for '$REPOSITORY'." TOTAL=$(cat ${ARCHLINUX_PKGS}_$REPOSITORY | sed -s "s# #\n#g" | wc -l) @@ -127,7 +128,8 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do echo " $(LANG=C TZ=UTC ls --full-time $ARCHBASE/$REPOSITORY/$PKG/build1.log | cut -d ' ' -f6 )" >> $HTML_BUFFER for LOG in build1.log build2.log ; do if [ -f $ARCHBASE/$REPOSITORY/$PKG/$LOG ] ; then - echo " $LOG" >> $HTML_BUFFER + get_filesize $ARCHBASE/$REPOSITORY/$PKG/$LOG + echo " $LOG ($SIZE)" >> $HTML_BUFFER else echo "  " >> $HTML_BUFFER fi -- cgit v1.2.3-54-g00ecf