scripts/runqemu: write temp file into correct location

We want the temporary file to be written in /tmp not the current
directory.

(From OE-Core rev: fcb40c11998030eb5fce89ce5a9ca567870aafa9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-09-24 11:52:39 +01:00 committed by Richard Purdie
parent ebdc88aafd
commit f79b21a57b
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ setup_path_vars() {
exit 1; }
# We have bitbake in PATH, get the variable values from bitbake
BITBAKE_ENV_TMPFILE=`mktemp runqemu.XXXXXXXXXX`
BITBAKE_ENV_TMPFILE=`mktemp --tmpdir runqemu.XXXXXXXXXX`
if [ "$?" != "0" ] ; then
echo "Error: mktemp failed for bitbake environment output"
exit 1