Showing
1 changed file
with
3 additions
and
3 deletions
@@ -146,11 +146,11 @@ init(){ | @@ -146,11 +146,11 @@ init(){ | ||
146 | ################################# main ###################################### | 146 | ################################# main ###################################### |
147 | main(){ | 147 | main(){ |
148 | 148 | ||
149 | - if [ $EXE_COMMOND = "Deploy" ]; then | 149 | + if [[ $EXE_COMMOND = "Deploy" ]]; then |
150 | deploy | 150 | deploy |
151 | - elif [ $EXE_COMMOND = "Rollback" ]; then | 151 | + elif [[ $EXE_COMMOND = "Rollback" ]]; then |
152 | rollback | 152 | rollback |
153 | - elif [ $EXE_COMMOND = "Back" ]; then | 153 | + elif [[ $EXE_COMMOND = "Back" ]]; then |
154 | break | 154 | break |
155 | else | 155 | else |
156 | echo "EXE_COMMOND error!" | 156 | echo "EXE_COMMOND error!" |
-
Please register or login to post a comment