diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-11-12 18:17:19 -0800 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-11-17 10:32:22 +0100 |
commit | a4affe17f1a31946841b6fa425d0ef4b3ea00855 (patch) | |
tree | 5b55a54542e56ac0a4177643d6e2a81f36a40278 /util | |
parent | 406ce8a06e82dc17c7153c02585aa3e8f885561f (diff) |
board_status.sh: trivial cosmetic changes toward the end
This moves an ugly comment closer to where it is applicable and also
adds a visual break between the commands which gather data and the
part of the script that finishes up. I'm usually not fan of banner
comments, but it seemed to help in my totally subjective opinion.
I was thinking about how to break the part that uploads results into
a separate function, but there are enough variables that are re-used
from earlier parts that the tradeoff probably isn't worth it.
Change-Id: If888329911c4de3b907cdf5973695c707bbb02fe
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/4051
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/board_status/board_status.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 2fb3555d64..1269c41a07 100644 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -174,8 +174,9 @@ cmd_nonfatal $REMOTE "cbmem -t" "${tmpdir}/${results}/coreboot_timestamps.txt" cmd $REMOTE dmesg "${tmpdir}/${results}/kernel_log.txt" -# FIXME: the board-status directory might get big over time. Is there a way we -# can push the results without fetching the whole repo? +# +# Finish up. +# coreboot_dir=`pwd` if [ $UPLOAD_RESULTS -eq 1 ]; then # extract username from ssh://<username>@review.coreboot.org/blah @@ -183,6 +184,9 @@ if [ $UPLOAD_RESULTS -eq 1 ]; then cd "util/board_status/" if [ ! -e "board-status" ]; then + # FIXME: the board-status directory might get big over time. + # Is there a way we can push the results without fetching the + # whole repo? git clone "ssh://${username}@review.coreboot.org:29418/board-status" if [ $? -ne 0 ]; then "Error cloning board-status repo, aborting." |