[oe-commits] Paul Eggleton : scripts/runqemu: write temp file into correct location
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 24 16:44:31 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: fcb40c11998030eb5fce89ce5a9ca567870aafa9
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fcb40c11998030eb5fce89ce5a9ca567870aafa9
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Tue Sep 24 11:52:39 2013 +0100
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/runqemu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index efab1a2..eb950bc 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
More information about the Openembedded-commits
mailing list