summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c8546ddad..aa796fbd5 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -69,11 +69,11 @@ if [ "$MACHINE" = "qemuarm" ]; then
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
T=$BUILDDIR/tmp/deploy/images/poky-image-
- if [ -x "$T-sdk-qemuarm.ext2" ]; then
+ if [ -e "$T-sdk-qemuarm.ext2" ]; then
HDIMAGE=$T-sdk-qemuarm.ext2
- elif [ -x "$T-pda-qemuarm.ext2" ]; then
+ elif [ -e "$T-pda-qemuarm.ext2" ]; then
HDIMAGE=$T-pda-qemuarm.ext2
- fi
+ fi
fi
fi
fi
@@ -101,9 +101,9 @@ if [ "$MACHINE" = "qemux86" ]; then
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
T=$BUILDDIR/tmp/deploy/images/poky-image-
- if [ -x "$T-sdk-qemux86.ext2" ]; then
+ if [ -e "$T-sdk-qemux86.ext2" ]; then
HDIMAGE=$T-sdk-qemux86.ext2
- elif [ -x "$T-pda-qemux86.ext2" ]; then
+ elif [ -e "$T-pda-qemux86.ext2" ]; then
HDIMAGE=$T-pda-qemux86.ext2
fi
fi