on master help sign in
[fix] utils/build_env.py: make sure to always use searx/settings.yml

ignore SEARX_SETTINGS_PATH

commitd5882147e0a56303e5a324e2afad5297727d0048 authorAlexandre Flament <alex@al-f.net> dateMon 11 Jan 2021, 11:48 (6 years ago) parenta31cb68
1 file changed+1
utils/build_env.py+1
utils/build_env.py+1
@@ -9,6 +9,7 @@ from os.path import realpath, dirname, join, sep, abspath
99
1010repo_root = realpath(dirname(realpath(__file__)) + sep + '..')
1111sys.path.insert(0, repo_root)
12+os.environ['SEARX_SETTINGS_PATH'] = abspath(dirname(__file__) + '/settings.yml')
1213
1314# Under the assumption that a brand is always a fork assure that the settings
1415# file from reposetorie's working tree is used to generate the build_env, not