if [ "x$ANDROID_SDK_HOME" = "x" ] ; then hostos=`uname | sed 's/^cygwin.*$/cygwin/i' | sed 's/^mingw.*$/mingw/i'` # e.g, (mingw friendly) /c/Apps/Android/android-sdk export ANDROID_SDK_HOME=**ANDROID-SDK-HOME** if [ "x$hostos" = "xcygwin" ] ; then export ANDROID_SDK_HOME="/cygdrive$ANDROID_SDK_HOME" fi export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH echo "+ Your environment has now been set up to run the Android SDK at location:" echo "+ $ANDROID_SDK_HOME" fi