From c9f6e01574dfca47f9827ada5972739a4dc6487c Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Mon, 30 Jan 2017 10:25:30 -0700 Subject: [PATCH] fix(001_setup_envdir.sh): inspect actual var instead of literal string --- rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh b/rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh index 5ad859a..02ac1c0 100755 --- a/rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh +++ b/rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh @@ -30,7 +30,7 @@ if [[ "$DATABASE_STORAGE" == "s3" || "$DATABASE_STORAGE" == "minio" ]]; then echo "s3://$BUCKET_NAME" > WALE_S3_PREFIX # if these values are empty, then the user is using IAM credentials so we don't want these in the # environment - if [[ "$AWS_ACCESS_KEY_ID" != "" && "AWS_SECRET_ACCESS_KEY" != "" ]]; then + if [[ "$AWS_ACCESS_KEY_ID" != "" && "$AWS_SECRET_ACCESS_KEY" != "" ]]; then echo $AWS_ACCESS_KEY_ID > AWS_ACCESS_KEY_ID echo $AWS_SECRET_ACCESS_KEY > AWS_SECRET_ACCESS_KEY fi