...
|
...
|
@@ -146,11 +146,11 @@ init(){ |
|
|
################################# main ######################################
|
|
|
main(){
|
|
|
|
|
|
if [ $EXE_COMMOND = "Deploy" ]; then
|
|
|
if [[ $EXE_COMMOND = "Deploy" ]]; then
|
|
|
deploy
|
|
|
elif [ $EXE_COMMOND = "Rollback" ]; then
|
|
|
elif [[ $EXE_COMMOND = "Rollback" ]]; then
|
|
|
rollback
|
|
|
elif [ $EXE_COMMOND = "Back" ]; then
|
|
|
elif [[ $EXE_COMMOND = "Back" ]]; then
|
|
|
break
|
|
|
else
|
|
|
echo "EXE_COMMOND error!"
|
...
|
...
|
|