From 80f06ba0e1ee031055621a4e717a0ee43e82118f Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sat, 31 Oct 2020 17:51:56 +0200 Subject: [PATCH] Support >2 COMPOSE_FILEs --- abra | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abra b/abra index d6b6312..2174943 100755 --- a/abra +++ b/abra @@ -520,7 +520,7 @@ sub_app_deploy (){ ( cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found" # shellcheck disable=SC2086 - if docker stack deploy -c ${COMPOSE_FILE/:/ -c } "$STACK_NAME"; then + if docker stack deploy -c ${COMPOSE_FILE//:/ -c } "$STACK_NAME"; then if [ -n "$DOMAIN" ]; then success "Yay! App should be available at https://${DOMAIN}" else @@ -537,7 +537,7 @@ sub_app_undeploy (){ load_instance load_instance_env - warning "Un-deploy $STACK_NAME from $SERVER?" + warning "About to un-deploy $STACK_NAME from $SERVER" prompt_confirm docker stack rm "$STACK_NAME"