aboutsummaryrefslogtreecommitdiffstats
path: root/monkeyrunner/etc/monkeyrunner
diff options
context:
space:
mode:
Diffstat (limited to 'monkeyrunner/etc/monkeyrunner')
-rwxr-xr-xmonkeyrunner/etc/monkeyrunner4
1 files changed, 3 insertions, 1 deletions
diff --git a/monkeyrunner/etc/monkeyrunner b/monkeyrunner/etc/monkeyrunner
index fe9be0c..b3801dd 100755
--- a/monkeyrunner/etc/monkeyrunner
+++ b/monkeyrunner/etc/monkeyrunner
@@ -81,8 +81,10 @@ else
if [ -n "$ANDROID_BUILD_TOP" ]; then
osname=`uname -s | tr A-Z a-z`
swtpath="${ANDROID_BUILD_TOP}/prebuilt/${osname}-${vmarch}/swt"
- else
+ elif [ -d "$frameworkdir/$vmarch" ]; then
swtpath="${frameworkdir}/${vmarch}"
+ else
+ swtpath="${frameworkdir}"
fi
fi