More consistent debugging output

This commit is contained in:
3wc 2021-04-18 03:43:03 +02:00
parent 0e6aa957a4
commit 762d12b61e

6
abra
View File

@ -849,7 +849,7 @@ load_instance() {
esac esac
ENV_FILE="${ENV_FILES[0]}" ENV_FILE="${ENV_FILES[0]}"
debug "Selected ENV_FILE $ENV_FILE" debug "ENV_FILE=$ENV_FILE"
if [ ! -f "$ENV_FILE" ]; then if [ ! -f "$ENV_FILE" ]; then
error "Can't open ENV_FILE '$ENV_FILE'" error "Can't open ENV_FILE '$ENV_FILE'"
@ -861,7 +861,7 @@ load_instance() {
SERVER="${PARTS[-2]}" SERVER="${PARTS[-2]}"
export STACK_NAME="${APP//./_}" export STACK_NAME="${APP//./_}"
debug "Using ${STACK_NAME} as the STACK_NAME var" debug "STACK_NAME=${STACK_NAME}"
} }
load_instance_env() { load_instance_env() {
@ -879,7 +879,7 @@ load_instance_env() {
APP_DIR="$ABRA_DIR/apps/$TYPE" APP_DIR="$ABRA_DIR/apps/$TYPE"
export DOCKER_CONTEXT="$SERVER" export DOCKER_CONTEXT="$SERVER"
info "Setting DOCKER_CONTEXT=$DOCKER_CONTEXT" info "DOCKER_CONTEXT=$DOCKER_CONTEXT"
export DOMAIN export DOMAIN
} }