Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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