[coreboot-gerrit] Patch set updated for coreboot: a17c7b0 board_status.sh: name temp dir and print the name
David Hendricks (dhendrix@chromium.org)
gerrit at coreboot.org
Sun Jul 13 03:50:04 CEST 2014
David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6259
-gerrit
commit a17c7b0579b19589cee41dbd66c23af2d21c2603
Author: Martin Roth <martin.roth at se-eng.com>
Date: Thu Jul 10 14:59:11 2014 -0600
board_status.sh: name temp dir and print the name
- give a template to the temp dir so they're recognizable.
- show the location of the temp files again at the end of the script.
Change-Id: Ieb031ee249043697f6a75e42284c23d0b9bad1b3
Signed-off-by: Martin Roth <martin.roth at se-eng.com>
---
util/board_status/board_status.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 20ba48f..889419e 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -152,7 +152,7 @@ fi
# Results will be placed in a temporary location until we're ready to upload.
# If the user does not wish to upload, results will remain in /tmp.
-tmpdir=$(mktemp -d)
+tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX)
# Obtain board and revision info to form the directory structure:
# <vendor>/<board>/<revision>/<timestamp>
@@ -229,6 +229,9 @@ cd "$coreboot_dir"
if [ $CLOBBER_OUTPUT -eq 1 ]; then
rm -rf ${tmpdir}
+else
+ echo
+ echo "output files are in ${tmpdir}/${results}"
fi
exit $EXIT_SUCCESS
More information about the coreboot-gerrit
mailing list