diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-06-13 11:21:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-13 11:21:58 +0200 |
commit | 74d068eb534bf14b597766b82e5138303f54b91e (patch) | |
tree | 84f9c7d518d9ae01b4cf0cd566c1194273c891d9 /bin/reproducible_coreboot.sh | |
parent | 3809618850d039d81fec32a01faf22c79d352b64 (diff) | |
download | jenkins.debian.net-74d068eb534bf14b597766b82e5138303f54b91e.tar.xz |
reproducible coreboot and openwrt: turn the 'reproducible?' headline into a statement if that's the case
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-x | bin/reproducible_coreboot.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 " </ul>" >> $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 <p><center><img src="coreboot.png" width="300" class="alignnone size-medium wp-image-6" alt="coreboot" height="231" /><br /> <blockquote> <br /> - <strong>coreboot™</strong>: fast, flexible <em>and reproducible</em> Open Source firmware? + <strong>coreboot™</strong>: fast, flexible <em>and reproducible</em> Open Source firmware$MAGIC_SIGN </blockquote> </center></p> EOF |