Files
meteor/tools/cordova-scripts/android.sh
Slava Kim 02164d5cc8 If USE_GLOBAL_ADK is specified, don't try to
install android_bundle and use globally available
java, javac, android and ant
2014-08-28 17:10:24 -07:00

13 lines
237 B
Bash
Executable File

#!/bin/bash
# import all the environment
source $(dirname $0)/common_env.sh
if [ -z "$USE_GLOBAL_ADK" ] ; then
exec "${ANDROID_BUNDLE}/android-sdk/tools/android" "$@"
else
# android should be in global path
exec android "$@"
fi