From 55324524ca77141666ffe6cc41b62cc71cf89ace Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 31 Dec 2020 16:55:33 +0100 Subject: [PATCH] Don't cut since `export ...` isn't in the env file Closes https://git.autonomic.zone/coop-cloud/abra/issues/69. --- abra | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abra b/abra index 248bfc6..8bf07f6 100755 --- a/abra +++ b/abra @@ -378,12 +378,12 @@ get_app_secrets() { get_app_passwords() { # FIXME 3wc: requires bash 4, use for loop instead - mapfile -t PASSWORDS < <(grep "SECRET.*PASSWORD.*VERSION.*" "$ENV_FILE" | cut -d ' ' -f2-) + mapfile -t PASSWORDS < <(grep "SECRET.*PASSWORD.*VERSION.*" "$ENV_FILE") } get_app_keys() { # FIXME 3wc: requires bash 4, use for loop instead - mapfile -t KEYS < <(grep "SECRET.*KEY.*VERSION.*" "$ENV_FILE" | cut -d' ' -f2-) + mapfile -t KEYS < <(grep "SECRET.*KEY.*VERSION.*" "$ENV_FILE") } load_instance() {