diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-03-26 22:47:50 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-03-26 22:47:50 -0400 |
commit | 72023e63048efe8884c2b2af49ce16400b3d20e6 (patch) | |
tree | 324910888fb05d4ee6243e9176eced7aa3b17d95 /bin | |
parent | f6a43ca50ad74c56b0edbcda573ea66d8ef9f4e2 (diff) | |
download | jenkins.debian.net-72023e63048efe8884c2b2af49ce16400b3d20e6.tar.xz |
reproducible debian: add i386 to navigation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index d2446825..9492ae97 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -263,11 +263,13 @@ write_page_header() { elif [ "$TARGET" = "notify" ] ; then write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\" title=\"notify icon\">${SPOKEN_TARGET}</a></li>" elif [ "$TARGET" = "arch" ] ; then - if [ "$ARCH" = "amd64" ] ; then - write_page "<li><a href=\"/unstable/index_suite_armhf_stats.html\">arch: armhf</a></li>" - else - write_page "<li><a href=\"/unstable/index_suite_amd64_stats.html\">arch: amd64</a></li>" - fi + for LINKARCH in ${ARCHS} ; do + if [ "$ARCH" = "$LINKARCH" ] ; then + continue + else + write_page "<li><a href=\"/unstable/index_suite_${LINKARCH}_stats.html\">arch: $LINKARCH</a></li>" + fi + done else write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\">${SPOKEN_TARGET}</a></li>" fi |