setenv: warn that the script is meant to be sourced, not executed
[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 export ANDROID_HOME=$HOME/Android/android-sdk-linux
6 export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools