Created
August 14, 2011 18:10
-
-
Save chrislewis/1145143 to your computer and use it in GitHub Desktop.
Install GAE SDK on most linux dists.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# GAE | |
VER="1.5.2" | |
SRC="http://googleappengine.googlecode.com/files/appengine-java-sdk-$VER.zip" | |
# Local | |
SDK_ROOT=/usr/local/lib | |
FILE=`basename $SRC` | |
PKG=`basename $FILE .zip` | |
TMP=/tmp/$FILE | |
# Abstract home shell config to work across *nix (including osx). | |
curl $SRC > $TMP | |
(cd $SDK_ROOT && unzip $TMP && rm $TMP) | |
echo "export APPENGINE_SDK_HOME=$SDK_ROOT/$PKG" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment