Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made fireplace-beta way simpler for testing purposes

  • Loading branch information...
commit 535e11d312f8a2e9704f3818a9da9a34f4fcb7ad 1 parent a6abf62
@mario authored
Showing with 4 additions and 18 deletions.
  1. +4 −18 fireplace-beta.sh
View
22 fireplace-beta.sh
@@ -8,25 +8,11 @@ echo 'provided server deployment scripts.'
echo 'This is beta!!'
-do_work ()
-{
-cd $1-stack
-./build-$1-stack $2 $3
-}
-
-user input ()
-{
PS3="Your choice: "
select stackname in "ramaze" "gitosis" "trac" "grails" "mysql" "postgresql" "lamp" "subversion" "quit"
do
- [ $stackname = "quit" ] && exit 0
-
-done
-}
-
-if [ $# -ne 1 -a $# -ne 3 ]; then
- user_input
-else
- do_work $1 $2 $3
-fi
+ [ "$stackname" = "quit" ] && exit 0
+ cd $stackname-stack
+ ./build-$stackname-stack $2 $3
+done
Please sign in to comment.
Something went wrong with that request. Please try again.