From 8dff00a00bb91208b59bef93427e4a3020213ec6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 9 Feb 2016 11:48:33 +0100 Subject: reproducible dashboard: use less vertical space to show hostnames used --- bin/reproducible_common.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_common.sh') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index a410c5ab..f8d82b93 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -366,13 +366,21 @@ write_explaination_table() { write_page "" if [ "$1" = "debian" ] ; then write_page "" write_page "" -- cgit v1.2.3-54-g00ecf
variationfirst buildsecond build
hostnameone of:" + local FIRST="" for a in ${ARCHS} ; do + local ARCH_NODES="" + write_page "
  " for i in $(echo $BUILD_NODES | sed -s 's# #\n#g' | sort -u) ; do if [ "$(echo $i | grep $a)" ] ; then - write_page "
  " - write_page "$(echo $i | cut -d '.' -f1)" + ARCH_NODES="${ARCH_NODES}$(echo $i | cut -d '.' -f1 | sed -s 's# ##g')" + if [ -z $FIRST ] ; then + FIRST=", " + else + ARCH_NODES="${ARCH_NODES}$FIRST" + fi fi done + write_page "${ARCH_NODES}" done write_page "
i-capture-the-hostname
domainname$(hostname -d)i-capture-the-domainname