Commit 7715d789 by Ned Batchelder

Fix the indentation

parent f29e3937
...@@ -47,29 +47,29 @@ sudo -H pip install --upgrade virtualenv==15.2.0 ...@@ -47,29 +47,29 @@ sudo -H pip install --upgrade virtualenv==15.2.0
## individually, or with $OPENEDX_RELEASE. ## individually, or with $OPENEDX_RELEASE.
## ##
VERSION_VARS=( VERSION_VARS=(
edx_platform_version edx_platform_version
certs_version certs_version
forum_version forum_version
xqueue_version xqueue_version
configuration_version configuration_version
demo_version demo_version
NOTIFIER_VERSION NOTIFIER_VERSION
INSIGHTS_VERSION INSIGHTS_VERSION
ANALYTICS_API_VERSION ANALYTICS_API_VERSION
ECOMMERCE_VERSION ECOMMERCE_VERSION
ECOMMERCE_WORKER_VERSION ECOMMERCE_WORKER_VERSION
DISCOVERY_VERSION DISCOVERY_VERSION
THEMES_VERSION THEMES_VERSION
) )
for var in ${VERSION_VARS[@]}; do for var in ${VERSION_VARS[@]}; do
# Each variable can be overridden by a similarly-named environment variable, # Each variable can be overridden by a similarly-named environment variable,
# or OPENEDX_RELEASE, if provided. # or OPENEDX_RELEASE, if provided.
ENV_VAR=$(echo $var | tr '[:lower:]' '[:upper:]') ENV_VAR=$(echo $var | tr '[:lower:]' '[:upper:]')
eval override=\${$ENV_VAR-\$OPENEDX_RELEASE} eval override=\${$ENV_VAR-\$OPENEDX_RELEASE}
if [ -n "$override" ]; then if [ -n "$override" ]; then
EXTRA_VARS="-e $var=$override $EXTRA_VARS" EXTRA_VARS="-e $var=$override $EXTRA_VARS"
fi fi
done done
# my-passwords.yml is the file made by generate-passwords.sh. # my-passwords.yml is the file made by generate-passwords.sh.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment