summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-03 18:48:23 +0200
committerGitHub <noreply@github.com>2021-10-03 18:48:23 +0200
commit9da9dbcbb45bd41948789529a3bd5e32da6cb62f (patch)
treec52ae4a1d47140d5e531e78b7fbc11e0a354c7ec /manage
parente39a03cc61e9792afb34084fb4d9973a61deecea (diff)
parent253b8503765b6f0d21135254277e72d17a51e04a (diff)
Merge pull request #373 from dalf/searxng-environ
SearXNG: environment variables
Diffstat (limited to 'manage')
-rwxr-xr-xmanage8
1 files changed, 4 insertions, 4 deletions
diff --git a/manage b/manage
index e3bf27b50..b02128df9 100755
--- a/manage
+++ b/manage
@@ -105,17 +105,17 @@ export DOCS_BUILD
buildenv() {
# settings file from repository's working tree are used by default
- SEARX_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml"
+ SEARXNG_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml"
if [ -r '/etc/searx/settings.yml' ]; then
if ask_yn "should settings read from: /etc/searx/settings.yml"; then
- SEARX_SETTINGS_PATH='/etc/searx/settings.yml'
+ SEARXNG_SETTINGS_PATH='/etc/searx/settings.yml'
fi
fi
- export SEARX_SETTINGS_PATH
+ export SEARXNG_SETTINGS_PATH
(
set -e
- SEARX_DEBUG=1 pyenv.cmd python utils/build_env.py 2>&1 \
+ SEARXNG_DEBUG=1 pyenv.cmd python utils/build_env.py 2>&1 \
| prefix_stdout "${_Blue}BUILDENV${_creset} "
)
return "${PIPESTATUS[0]}"