summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-14 18:27:33 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-14 18:27:33 +0100
commitb0b13222c460eeda2d678ddc91a186b860d37409 (patch)
tree02db5741921d3a0976d8d1c979bdbaa9f2e44f5d /bin
parente18d579e04e4c8d1d491bd1abcdde6b090547010 (diff)
downloadjenkins.debian.net-b0b13222c460eeda2d678ddc91a186b860d37409.tar.xz
reproducible: fix order of suite links in header
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index cbafe02c..cf86d649 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>"