Skip to content
Permalink
Browse files

Fix environment variable quoting which disrupts the way the array is …

…formed in the script
  • Loading branch information...
chrisgilmerproj committed Jun 5, 2019
1 parent d39ca3b commit 43f9756e45af0f1299035f08c4252f53cbbb43ed
Showing with 4 additions and 2 deletions.
  1. +2 −1 scripts/download-secure-migration
  2. +2 −1 scripts/upload-secure-migration
@@ -8,7 +8,8 @@ set -eu -o pipefail

readonly aws_command="aws"
# Environments to download production migrations from
readonly environments=("${ENVIRONMENTS:-experimental staging prod}")
# shellcheck disable=SC2206
readonly environments=(${ENVIRONMENTS:-experimental staging prod})
readonly aws_bucket_prefix="transcom-ppp-app-"
readonly aws_bucket_suffix="-us-west-2"
readonly aws_path_prefix="secure-migrations"
@@ -8,7 +8,8 @@ set -eu -o pipefail

readonly aws_command="aws"
# Environments to upload production migrations to
readonly environments=("${ENVIRONMENTS:-experimental staging prod}")
# shellcheck disable=SC2206
readonly environments=(${ENVIRONMENTS:-experimental staging prod})
readonly aws_bucket_prefix="transcom-ppp-app-"
readonly aws_bucket_suffix="-us-west-2"
readonly aws_path_prefix="secure-migrations"

0 comments on commit 43f9756

Please sign in to comment.
You can’t perform that action at this time.