[Qa-jenkins-scm] [jenkins.debian.net] 03/10: reproducible: fix order of suite links in header

Holger Levsen holger at moszumanska.debian.org
Sat Mar 14 19:03:02 UTC 2015


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 b0b13222c460eeda2d678ddc91a186b860d37409
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 14 18:27:33 2015 +0100

    reproducible: fix order of suite links in header
---
 bin/reproducible_common.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index cbafe02..cf86d64 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -161,13 +161,12 @@ write_page_header() {
 				BASEURL="/$SUITE"
 			fi
 		done
-		write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\">${SPOKEN_TARGET}</a></li>"
 		if [ "$TARGET" = "suite_stats" ] ; then
 			for i in $SUITES ; do
-				if [ "$i" != "$SUITE" ] ; then
-					write_page "<li><a href=\"/$i\">suite: $i</a></li>"
-				fi
+				write_page "<li><a href=\"/$i\">suite: $i</a></li>"
 			done
+		else
+			write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\">${SPOKEN_TARGET}</a></li>"
 		fi
 	done
 	write_page "<li><a href=\"https://wiki.debian.org/ReproducibleBuilds\" target=\"_blank\">wiki</a></li>"

-- 
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