From df7d5c9e0671486004c42f4f57b79bf9beafba51 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 20 Jan 2014 03:18:20 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/4757 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- util/board_status/to-wiki/towiki.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3