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)
This commit is contained in:
Martin Roth 2014-07-10 14:59:11 -06:00 committed by Martin Roth
parent 224617752b
commit 13c7db8fe8
1 changed files with 4 additions and 1 deletions

View File

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