diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-18 23:37:13 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-19 00:37:58 +0100 |
commit | 21a2707ea92521bee3d6d213793b47645c313dfd (patch) | |
tree | 87eec8e23d150e24ca61b7ea9b3c19c113d342a0 /util/board_status | |
parent | 2cb9685860d634c66988c4d45b7a696e6e2b42a8 (diff) | |
download | coreboot-21a2707ea92521bee3d6d213793b47645c313dfd.tar.xz |
boardstatus: Remove support for multiname mobos.
It's ugly and not needed anymore.
Change-Id: I98301c75684813a217c3ca0435a15b6e4ffef558
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4730
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'util/board_status')
-rwxr-xr-x | util/board_status/to-wiki/towiki.sh | 29 |
1 files changed, 10 insertions, 19 deletions
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 |