From 7f009f927b11416e62d50314fcbc58a84e19acda Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sat, 26 Dec 2020 12:09:39 +0200 Subject: [PATCH] Fix `app ls --status` Closes #35 --- abra | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/abra b/abra index 3ea2be5..8bcb971 100755 --- a/abra +++ b/abra @@ -480,8 +480,6 @@ sub_app_list (){ done fi - printf '%s\n' "${DEPLOYED_APPS[@]}" - printf "%s lovely apps:\n\n" "${#ENV_FILES[@]}" for i in "${!ENV_FILES[@]}"; do @@ -502,7 +500,7 @@ sub_app_list (){ APP="$(source "$ENV_FILE" && echo "$APP")" # shellcheck disable=SC1090 APP_STACK_NAME="$(source "$ENV_FILE" && echo "$STACK_NAME")" - if [ -z "$STACK_NAME" ]; then + if [ -z "$APP_STACK_NAME" ]; then APP_STACK_NAME="${DOMAIN//./_}" fi if [ -n "$STATUS" ]; then