Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # http://www.reddit.com/r/AppEngine/comments/1akmrp/does_installing_the_app_engine_sdk_for_both/
- # for TheMagicHorsey
- python_server= #Path to python server
- go_server= #Path to go server i.e. $HOME/Dev/go_appengine/dev_appserver.py
- if [ "$1" == "python" ]
- then
- server_path=$python_server
- echo "Switching to python..."
- elif [ "$1" == "go" ]
- then
- server_path=$go_server
- echo "Switching to go..."
- else
- echo "Valid options: python or go"
- exit
- fi
- ln -f -s $server_path /usr/local/bin/dev_appserver.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement