Don't cut since export ...
isn't in the env file
Closes coop-cloud/abra#69.
This commit is contained in:
parent
b6928959cb
commit
55324524ca
4
abra
4
abra
@ -378,12 +378,12 @@ get_app_secrets() {
|
|||||||
|
|
||||||
get_app_passwords() {
|
get_app_passwords() {
|
||||||
# FIXME 3wc: requires bash 4, use for loop instead
|
# 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() {
|
get_app_keys() {
|
||||||
# FIXME 3wc: requires bash 4, use for loop instead
|
# 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() {
|
load_instance() {
|
||||||
|
Reference in New Issue
Block a user