From d5882147e0a56303e5a324e2afad5297727d0048 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 11 Jan 2021 11:48:16 +0100 Subject: [PATCH] [fix] utils/build_env.py: make sure to always use searx/settings.yml ignore SEARX_SETTINGS_PATH --- utils/build_env.py | 1 + 1 file changed, 1 insertion(+) 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