From 21a2707ea92521bee3d6d213793b47645c313dfd Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 23:37:13 +0100 Subject: boardstatus: Remove support for multiname mobos. It's ugly and not needed anymore. Change-Id: I98301c75684813a217c3ca0435a15b6e4ffef558 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/4730 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- util/board_status/to-wiki/towiki.sh | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'util/board_status/to-wiki') diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh index 35949e4839..08117cbc8a 100755 --- a/util/board_status/to-wiki/towiki.sh +++ b/util/board_status/to-wiki/towiki.sh @@ -360,25 +360,16 @@ EOF echo "|- bgcolor=\"#$color\"" echo "| $vendor_nice" echo -n "| " - num_boards="$(echo "$board_nice"|wc -l)" - boardn=1 - while [ $boardn -le $num_boards ]; do - cur_board_name="$(echo "$board_nice" | head -n $boardn |tail -n 1)" - cur_board_page="$(echo "$board_page" | head -n $boardn |tail -n 1)" - cur_board_url="$(echo "$board_url" | head -n $boardn |tail -n 1)" - - if [ -z "$cur_board_page" ]; then - echo -n "$cur_board_name" - else - echo -n "[[$cur_board_page|$cur_board_name]]" - fi - if [ -z "$cur_board_url" ]; then - echo - else - echo " [$cur_board_url vendor page]" - fi - boardn="$((boardn+1))" - done + if [ -z "$board_page" ]; then + echo -n "$board_nice" + else + echo -n "[[$board_page|$board_nice]]" + fi + if [ -z "$board_url" ]; then + echo + else + echo " [$board_url vendor page]" + fi if [ -z "$lastgood" ]; then echo "| style=\"background:red\" | Unknown" else -- cgit v1.2.3