summaryrefslogtreecommitdiff
path: root/utils/build_env.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/build_env.py')
-rw-r--r--utils/build_env.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/build_env.py b/utils/build_env.py
index 3ba4e4aaf..42d75fbfb 100644
--- a/utils/build_env.py
+++ b/utils/build_env.py
@@ -12,7 +12,7 @@ sys.path.insert(0, repo_root)
# Assure that the settings file from reposetorie's working tree is used to
# generate the build_env, not from /etc/searx/settings.yml.
-os.environ['SEARX_SETTINGS_PATH'] = join(repo_root, 'etc', 'settings.yml')
+os.environ['SEARXNG_SETTINGS_PATH'] = join(repo_root, 'etc', 'settings.yml')
def _env(*arg, **kwargs):
val = get_setting(*arg, **kwargs)
@@ -51,7 +51,7 @@ for name, option in name_val:
from searx.version import GIT_URL, GIT_BRANCH
from searx import get_setting
-print('build %s (settings from: %s)' % (brand_env, os.environ['SEARX_SETTINGS_PATH']))
+print('build %s (settings from: %s)' % (brand_env, os.environ['SEARXNG_SETTINGS_PATH']))
sys.path.insert(0, repo_root)
with open(repo_root + sep + brand_env, 'w', encoding='utf-8') as f: