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>
This commit is contained in:
Vladimir Serbinenko 2014-01-20 03:18:20 +01:00
parent 51634d25bc
commit df7d5c9e06
1 changed files with 4 additions and 1 deletions

View File

@ -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"