From 74d068eb534bf14b597766b82e5138303f54b91e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 13 Jun 2015 11:21:58 +0200 Subject: reproducible coreboot and openwrt: turn the 'reproducible?' headline into a statement if that's the case --- bin/reproducible_coreboot.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index d431335d..2dc98d5f 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -228,6 +228,12 @@ done echo " " >> $ROMS_HTML GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_ROMS*100/$ALL_ROMS)" | bc) BAD_PERCENT=$(echo "scale=1 ; ($BAD_ROMS*100/$ALL_ROMS)" | bc) +# are we there yet? +if [ "$GOOD_PERCENT" = "100.0" ] ; then + MAGIC_SIGN="!" +else + MAGIC_SIGN="?" +fi # # finally create the webpage @@ -250,7 +256,7 @@ cat > $PAGE <<- EOF

coreboot

- coreboot™: fast, flexible and reproducible Open Source firmware? + coreboot™: fast, flexible and reproducible Open Source firmware$MAGIC_SIGN

EOF -- cgit v1.2.3-54-g00ecf