boardstatus: Use Board:$vendor/$board for board pages.

Change-Id: I5249d86188845e1104d25163faa5010b943e707a
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4731
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Vladimir Serbinenko 2014-01-19 00:21:19 +01:00
parent acca285973
commit 03cd8e5fa4
1 changed files with 1 additions and 8 deletions

View File

@ -156,7 +156,6 @@ EOF
flashrom_support="$(sed -n "/^[[:space:]]*Flashrom support:/ s,^[[:space:]]*Flashrom support:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")" flashrom_support="$(sed -n "/^[[:space:]]*Flashrom support:/ s,^[[:space:]]*Flashrom support:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")" vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")" vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
board_page="$(sed -n "/^[[:space:]]*Board page:/ s,^[[:space:]]*Board page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")" board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
else else
board_nice= board_nice=
@ -166,7 +165,6 @@ EOF
flashrom_support= flashrom_support=
vendor_cooperation_score= vendor_cooperation_score=
vendor_cooperation_page= vendor_cooperation_page=
board_page=
board_url= board_url=
fi fi
if [ "$last_vendor" != "$vendor" ]; then if [ "$last_vendor" != "$vendor" ]; then
@ -359,12 +357,7 @@ EOF
echo "|- bgcolor=\"#$color\"" echo "|- bgcolor=\"#$color\""
echo "| $vendor_nice" echo "| $vendor_nice"
echo -n "| " echo -n "| [[Board:$vendor/$board|$board_nice]]"
if [ -z "$board_page" ]; then
echo -n "$board_nice"
else
echo -n "[[$board_page|$board_nice]]"
fi
if [ -z "$board_url" ]; then if [ -z "$board_url" ]; then
echo echo
else else