From: Paul Eggleton Date: Tue, 24 Sep 2013 10:52:39 +0000 (+0100) Subject: scripts/runqemu: write temp file into correct location X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~35909 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcb40c11998030eb5fce89ce5a9ca567870aafa9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index efab1a27b3c..eb950bc62dd 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