diff options
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index dacaf7caac..9611c6412e 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -271,7 +271,7 @@ setup_tmpdir() { | |||
271 | exit 1; } | 271 | exit 1; } |
272 | 272 | ||
273 | # We have bitbake in PATH, get TMPDIR from bitbake | 273 | # We have bitbake in PATH, get TMPDIR from bitbake |
274 | TMPDIR=`bitbake -e | grep TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2` | 274 | TMPDIR=`bitbake -e | grep ^TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2` |
275 | if [ -z "$TMPDIR" ]; then | 275 | if [ -z "$TMPDIR" ]; then |
276 | echo "Error: this script needs to be run from your build directory," | 276 | echo "Error: this script needs to be run from your build directory," |
277 | echo "or you need to explicitly set TMPDIR in your environment" | 277 | echo "or you need to explicitly set TMPDIR in your environment" |