Don't override ANDROID_SDK_HOME when running with system ADT

This commit is contained in:
Justin SB
2014-09-09 13:06:58 -07:00
parent 2fc07ee801
commit a1ec61dec0

View File

@@ -47,9 +47,8 @@ if [ -z "$USE_GLOBAL_ADK" ] ; then
export HOME="${ANDROID_BUNDLE}"
export ANDROID_SDK_HOME="${ANDROID_BUNDLE}"
else
# to use a global ADK we don't set PATH, ANT_HOME
# to use a global ADK we don't set PATH, ANT_HOME, ANDROID_SDK_HOME
# relying that they are installed and available globally
export ANDROID_SDK_HOME="${HOME}"
true
fi