env-wal-e: Rename s3_backup_bucket to s3_backups_bucket.

This makes it consistent with the other variables in this file.
This commit is contained in:
Tim Abbott
2016-07-31 19:02:16 -07:00
parent ff80daef16
commit a5115d54ee

View File

@@ -5,10 +5,10 @@ fi
export AWS_ACCESS_KEY_ID=$(crudini --get "$ZULIP_SECRETS_CONF" secrets s3_backups_key)
export AWS_SECRET_ACCESS_KEY=$(crudini --get "$ZULIP_SECRETS_CONF" secrets s3_backups_secret_key)
s3_backup_bucket=$(crudini --get "$ZULIP_SECRETS_CONF" secrets s3_backup_bucket 2>&1)
s3_backups_bucket=$(crudini --get "$ZULIP_SECRETS_CONF" secrets s3_backups_bucket 2>&1)
if [ $? -ne 0 ]; then
echo "Could not determine which s3 bucket to use:" "$s3_backup_bucket"
echo "Could not determine which s3 bucket to use:" "$s3_backups_bucket"
exit 1
fi
export WALE_S3_PREFIX=s3://$s3_backup_bucket
export WALE_S3_PREFIX=s3://$s3_backups_bucket
exec /usr/local/bin/wal-e "$@"