Merge branch 'master' into dev

This commit is contained in:
Axel Uhl (Server) committed 2013-03-06 07:11:19 +01:00
commit f662c1db9e
10 files changed
+53 -31

No files matched your search

+7 -7
View File
@@ -214,13 +214,6 @@ if [[ "$@" == "hot-deploy" ]]; then
exit
fi
read -s -n1 -p "Currently branch $active_branch is active. Do you want to proceed with $@ (y/N): " answer
case $answer in
"Y" | "y") echo "Continuing";;
*) echo "Aborting..."
exit;;
esac
echo "Starting $@ of server (maven configuration set to $MAVEN_SETTINGS)..."
if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
@@ -261,6 +254,13 @@ fi
if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
read -s -n1 -p "Currently branch $active_branch is active and I will deploy to $ACDIR. Do you want to proceed with $@ (y/N): " answer
case $answer in
"Y" | "y") echo "Continuing";;
*) echo "Aborting..."
exit;;
esac
if [ ! -d $ACDIR ]; then
echo "Could not find directory $ACDIR - perhaps you are on a wrong branch?"
exit