diff options
Diffstat (limited to 'monkeyrunner/etc/monkeyrunner')
-rwxr-xr-x | monkeyrunner/etc/monkeyrunner | 4 |
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 |