[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: add i386 to navigation

Holger Levsen holger at moszumanska.debian.org
Sun Mar 27 02:48:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 72023e63048efe8884c2b2af49ce16400b3d20e6
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 26 22:47:50 2016 -0400

    reproducible debian: add i386 to navigation
---
 bin/reproducible_common.sh | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index d244682..9492ae9 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list