From 7f60a4cebdb1d1c2bcdfee3c28086f79129dc4bd Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 21 Nov 2017 19:28:55 +0000 Subject: reproducible Arch Linux: try to detect reproducible packages Signed-off-by: Holger Levsen --- bin/reproducible_html_archlinux.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_html_archlinux.sh') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 9249b8f8..fa2987de 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -119,10 +119,16 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do # or is it reproducible??? fi else - HTML_TARGET=$HTML_FTBR - let NR_FTBR+=1 + HTML_TARGET=$HTML_GOOD for ARTIFACT in $(cd $ARCHLINUX_PKG_PATH/ ; ls *.pkg.tar.xz.html) ; do - echo " \"unreproducible ${ARTIFACT:0:-5} is unreproducible
" >> $HTML_BUFFER + if [ ! -z "$(grep 'build reproducible in our test framework' $ARCHLINUX_PKG_PATH/$ARTIFACT.html)" ] ; then + let NR_GOOD+=1 + echo " \"reproducible ${ARTIFACT:0:-5} is reproducible
" >> $HTML_BUFFER + else + HTML_TARGET=$HTML_FTBR + let NR_FTBR+=1 + echo " \"unreproducible ${ARTIFACT:0:-5} is unreproducible
" >> $HTML_BUFFER + fi done fi echo " " >> $HTML_BUFFER -- cgit v1.2.3-54-g00ecf