Browse Source

prefix the env write with newline and remove env var specific to UNW

pull/5778/head
Lingyi Wang 2 years ago
parent
commit
17edef84c3
  1. 2
      build_tools/__init__.py
  2. 2
      build_tools/customize_docker_envlist.py

2
build_tools/__init__.py

@ -35,6 +35,4 @@ This environment variable is used in the customize_requirements.py script.
For BUILD_TIME_PLUGINS, RUN_TIME_PLUGINS, and EXTRA_REQUIREMENTS if the environment variable
specifies a URL, the scripts will attempt to download a text file from that URL and then use
that file.
BACKGROUND_IMAGE, an image to display on the Kolibri login page.
"""

2
build_tools/customize_docker_envlist.py

@ -22,7 +22,7 @@ def add_env_var_to_docker():
# removing the prefix.
if env.startswith(BUILD_ENV_PREFIX):
key = env.replace(BUILD_ENV_PREFIX, "")
f.write("{key}={value}\n".format(key=key, value=envs[env]))
f.write("\n{key}={value}".format(key=key, value=envs[env]))
print(
"Writing value of environment variable {} to Docker env.list\n".format(
key

Loading…
Cancel
Save