Bug 949314 - Use shell expansion instead of a relative path to get the path for ANDROID_SDK_ROOT. r=glandium

--HG--
extra : rebase_source : 0e8f1881be639678eb80915cfb70aa08a68a7a13
This commit is contained in:
James Gilbertson 2013-12-17 10:59:04 -05:00
parent ad799bb35f
commit 7219ddd9c8

View File

@ -259,7 +259,7 @@ MOZ_ARG_WITH_STRING(android-sdk,
location where the Android SDK can be found (base directory, e.g. .../android/platforms/android-6)],
android_sdk=$withval)
android_sdk_root=$withval/../../
android_sdk_root=${withval%/platforms/android-*}
case "$target" in
*-android*|*-linuxandroid*)