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:
parent
224617752b
commit
13c7db8fe8
|
@ -152,7 +152,7 @@ fi
|
||||||
|
|
||||||
# Results will be placed in a temporary location until we're ready to upload.
|
# 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.
|
# 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:
|
# Obtain board and revision info to form the directory structure:
|
||||||
# <vendor>/<board>/<revision>/<timestamp>
|
# <vendor>/<board>/<revision>/<timestamp>
|
||||||
|
@ -229,6 +229,9 @@ cd "$coreboot_dir"
|
||||||
|
|
||||||
if [ $CLOBBER_OUTPUT -eq 1 ]; then
|
if [ $CLOBBER_OUTPUT -eq 1 ]; then
|
||||||
rm -rf ${tmpdir}
|
rm -rf ${tmpdir}
|
||||||
|
else
|
||||||
|
echo
|
||||||
|
echo "output files are in ${tmpdir}/${results}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $EXIT_SUCCESS
|
exit $EXIT_SUCCESS
|
||||||
|
|
Loading…
Reference in New Issue