diff options
-rwxr-xr-x | scripts/poky-qemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu index 67af439ea9..19305e2a81 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu | |||
@@ -204,7 +204,7 @@ SPITZ_DEFAULT_ROOTFS="poky-image-sato" | |||
204 | 204 | ||
205 | setup_tmpdir() { | 205 | setup_tmpdir() { |
206 | if [ -z "$TMPDIR" ]; then | 206 | if [ -z "$TMPDIR" ]; then |
207 | if [ "x$BUILDDIR" = "x" ]; then | 207 | if [ "x$BUILDDIR" = "x" -o ! -d "$BUILDDIR/tmp" ]; then |
208 | # BUILDDIR unset, try and get TMPDIR from bitbake | 208 | # BUILDDIR unset, try and get TMPDIR from bitbake |
209 | type -P bitbake &>/dev/null || { | 209 | type -P bitbake &>/dev/null || { |
210 | echo "In order for this script to dynamically infer paths"; | 210 | echo "In order for this script to dynamically infer paths"; |