source: gs3-extensions/i-jetty/trunk/src/setup-android.bash.in@ 26434

Last change on this file since 26434 was 25757, checked in by davidb, 12 years ago

A couple of minor adjustments to be a bit more mingw (mini-unix) friendly

  • Property svn:executable set to *
File size: 520 bytes
Line 
1if [ "x$ANDROID_SDK_HOME" = "x" ] ; then
2
3 hostos=`uname | sed 's/^cygwin.*$/cygwin/i' | sed 's/^mingw.*$/mingw/i'`
4
5 # e.g, (mingw friendly) /c/Apps/Android/android-sdk
6
7 export ANDROID_SDK_HOME=**ANDROID-SDK-HOME**
8
9 if [ "x$hostos" = "xcygwin" ] ; then
10 export ANDROID_SDK_HOME="/cygdrive$ANDROID_SDK_HOME"
11 fi
12
13 export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH
14
15 echo "+ Your environment has now been set up to run the Android SDK at location:"
16 echo "+ $ANDROID_SDK_HOME"
17fi
18
Note: See TracBrowser for help on using the repository browser.