Skip to content

Instantly share code, notes, and snippets.

@kirkegaard
Created March 15, 2010 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirkegaard/333399 to your computer and use it in GitHub Desktop.
Save kirkegaard/333399 to your computer and use it in GitHub Desktop.
function showOptions() {
echo "Please select install method:"
echo "1) SVN"
echo "2) GIT"
echo "3) HTTP"
read opt;
case ${opt} in
1) METHOD="SVN";;
2) METHOD="GIT";;
3) METHOD="HTTP";;
*) showOptions;;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment