summaryrefslogtreecommitdiff
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-24 11:52:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-24 17:45:41 +0100
commitfcb40c11998030eb5fce89ce5a9ca567870aafa9 (patch)
treef68a517d8d641a3300de1b19754ce5c609fa4c70 /scripts/runqemu
parentb9743c7b130bda3e50cdba4cf260232f1c24abcd (diff)
downloadopenembedded-core-fcb40c11998030eb5fce89ce5a9ca567870aafa9.tar.gz
openembedded-core-fcb40c11998030eb5fce89ce5a9ca567870aafa9.tar.bz2
openembedded-core-fcb40c11998030eb5fce89ce5a9ca567870aafa9.zip
scripts/runqemu: write temp file into correct location
We want the temporary file to be written in /tmp not the current directory. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index efab1a27b3..eb950bc62d 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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