Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] utils/build_env.py: make sure to always use searx/settings.yml

Alexandre Flamentd5882147e0a5
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