summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-11 11:48:16 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-01-11 22:59:35 +0100
commitd5882147e0a56303e5a324e2afad5297727d0048 (patch)
tree90182d6d84ff6cbb04ea8f894049f01ff6fe7dd9 /utils
parenta31cb68668f2c5b890dc973aeeb90ef2246099aa (diff)
downloadsearxng-d5882147e0a56303e5a324e2afad5297727d0048.tar.gz
searxng-d5882147e0a56303e5a324e2afad5297727d0048.zip
[fix] utils/build_env.py: make sure to always use searx/settings.yml
ignore SEARX_SETTINGS_PATH
Diffstat (limited to 'utils')
-rw-r--r--utils/build_env.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/build_env.py b/utils/build_env.py
index b99e457cf..ffb2689e9 100644
--- a/utils/build_env.py
+++ b/utils/build_env.py
@@ -9,6 +9,7 @@ from os.path import realpath, dirname, join, sep, abspath
repo_root = realpath(dirname(realpath(__file__)) + sep + '..')
sys.path.insert(0, repo_root)
+os.environ['SEARX_SETTINGS_PATH'] = abspath(dirname(__file__) + '/settings.yml')
# Under the assumption that a brand is always a fork assure that the settings
# file from reposetorie's working tree is used to generate the build_env, not