diff options
author | Martin Roth <martin.roth@se-eng.com> | 2014-07-10 14:59:11 -0600 |
---|---|---|
committer | Martin Roth <gaumless@gmail.com> | 2014-07-21 17:26:20 +0200 |
commit | 13c7db8fe805e5b535356a7d86df17b81dff5d2a (patch) | |
tree | 0b12e6ca321a4c307b387389c01138b14847ee65 /util | |
parent | 224617752b7457c3eb086cb3ad52b468a94a0eb7 (diff) | |
download | coreboot-13c7db8fe805e5b535356a7d86df17b81dff5d2a.tar.xz |
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@se-eng.com>
Reviewed-on: http://review.coreboot.org/6259
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util')
-rwxr-xr-x | util/board_status/board_status.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 20ba48f943..889419e4df 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 |