Ignore:
Timestamp:
2011-04-18T20:27:34+12:00 (13 years ago)
Author:
davidb
Message:

Test added to direct user to configure their setup-android.bash if not already done so

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-jetty/trunk/src/setup.bash

    r23885 r23925  
     1
    12if [ "x$ANDROID_SDK_HOME" = "x" ] ; then
    2   export ANDROID_SDK_HOME=**ANDROID-SDK-HOME**
    3   export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH
    4 
    5   echo "+ Your environment has now been set up to run the Android SDK"
     3  if [ ! -e setup-android.bash ] ; then
     4    echo "Unable to find 'setup-android.bash'.  You either need to:"
     5    echo "  1) copy setup-android.bash.in to setup-android.bash and"
     6    echo "     edit **ANDROID_SDK_HOME** to point to where this is located"
     7    echo "     on your file system, or"
     8    echo "  2) Explicitly set the environment variable ANDROID_SDK_HOME"
     9    echo "     and make sure 'dx' is on your PATH"
     10    exit
     11  else
     12    source setup-android.bash
     13  fi
    614fi
    7 
    815
    916export IJETTY_HOME=`pwd`
Note: See TracChangeset for help on using the changeset viewer.