Use a variable to set the base directory for Android development
[android/android-app-development-getting-started.git] / setenv
1 #!/bin/sh
2
3 [ "${0#-}" = "$(basename $SHELL)" ] || { echo "This script is meant to be sourced, not executed" 1>&2; exit 1; }
4
5 ANDROID_BASE_DIR=$HOME/Android
6
7 export ANDROID_HOME=$ANDROID_BASE_DIR/android-sdk-linux
8 export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools