diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-20 03:18:20 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-20 03:50:03 +0100 |
commit | df7d5c9e0671486004c42f4f57b79bf9beafba51 (patch) | |
tree | 861f17a575a54d2e8c57f4c6a98c58d9f4dafa9a /util/board_status | |
parent | 51634d25bcbc969a546819341fd901d4359ec7bd (diff) | |
download | coreboot-df7d5c9e0671486004c42f4f57b79bf9beafba51.tar.xz |
boardstatus: Fix creation of links to configs.
The unusual construction ls + grep + while read fails
for unknown reason. Use standard for x in * consruction
instead.
Change-Id: Ibcdf5e18543587f71a605bae2d0df72b6a286a5b
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4757
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh index fd0dcf0b8c..a9fb520244 100755 --- a/util/board_status/to-wiki/towiki.sh +++ b/util/board_status/to-wiki/towiki.sh @@ -28,7 +28,10 @@ while read line; do detailed="$detailed[[Board:$vendor_board|$vendor_board]] at $datetime_human$nl" detailed="$detailed[$CODE_GITWEB$upstream upstream tree] ($nl" - ls $vendor_board/$commit/$datetime/* |grep -v '/revision.txt$' | while read file; do + for file in "$vendor_board/$commit/$datetime/"*; do + if [ "$file" = "$vendor_board/$commit/$datetime/revision.txt" ]; then + continue + fi detailed="$detailed[$STATUS_GITWEB$file `basename $file`] $nl" done detailed="$detailed)$nl$nl" |