Skip to content

Commit

Permalink
Set a sane default for the secure migration source
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gilmer committed Apr 11, 2019
1 parent a95e7d8 commit e2c8f55
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/apply-secure-migration.sh
Expand Up @@ -6,10 +6,7 @@
# If `SECURE_MIGRATION_SOURCE=s3` then we look for a similarly named file in the
# S3 bucket and pull it down.

if [ -z "${SECURE_MIGRATION_SOURCE:-}" ]; then
echo "error: \$SECURE_MIGRATION_SOURCE needs to be set"
exit 1
fi
SECURE_MIGRATION_SOURCE=${SECURE_MIGRATION_SOURCE:-local}

if [ -z "${DB_USER:-}" ]; then
echo "error: \$DB_USER needs to be set"
Expand Down

0 comments on commit e2c8f55

Please sign in to comment.