1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

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

ignore SEARX_SETTINGS_PATH
This commit is contained in:
Alexandre Flament 2021-01-11 11:48:16 +01:00 committed by Markus Heiser
parent a31cb68668
commit d5882147e0

View File

@ -9,6 +9,7 @@ from os.path import realpath, dirname, join, sep, abspath
repo_root = realpath(dirname(realpath(__file__)) + sep + '..') repo_root = realpath(dirname(realpath(__file__)) + sep + '..')
sys.path.insert(0, repo_root) 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 # 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 # file from reposetorie's working tree is used to generate the build_env, not