summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-08-03 17:35:22 -0400
committerHolger Levsen <holger@layer-acht.org>2016-08-03 23:46:38 +0200
commit746c9d6e15711ba84fe2e326dbd162ef320d8516 (patch)
treea59e6818052bf0ec221e960f737796df231e7418 /bin/reproducible_common.sh
parent3e81ef78b5d0bb39e159cf60115a4ef32e5a6b48 (diff)
downloadjenkins.debian.net-746c9d6e15711ba84fe2e326dbd162ef320d8516.tar.xz
reproducible debian: fix bug that removed suite/arch nav for dashboard pages
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 81148cfc..c9129509 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -196,7 +196,7 @@ write_page_header() {
fi
# Create json for suite links (a list of objects)
- suite_links="\"suite_list\": ["
+ suite_links="\"suite_nav\": { \"suite_list\": ["
comma=0
for s in $SUITES ; do
if [ "$s" = "$SUITE" ] ; then
@@ -212,10 +212,10 @@ write_page_header() {
comma=1
fi
done
- suite_links+="]"
+ suite_links+="]}"
# Create json for arch links (a list of objects)
- arch_links="\"arch_list\": ["
+ arch_links="\"arch_nav\": {\"arch_list\": ["
comma=0
for a in ${ARCHS} ; do
if [ "$a" = "$ARCH" ] ; then
@@ -231,7 +231,7 @@ write_page_header() {
comma=1
fi
done
- arch_links+="]"
+ arch_links+="]}"
# finally, the completely formed JSON context
context=$(printf '{