diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 11:41:59 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 11:41:59 +0200 |
commit | 442b27ac1b1f54669fbb9785d780327f62814431 (patch) | |
tree | e1bfd55837b6032cf029deea984b8ec14f010e74 /manage.sh | |
parent | 8a16903a1ca980fc3c670e304067c9e68eb59a25 (diff) | |
download | searxng-442b27ac1b1f54669fbb9785d780327f62814431.tar.gz searxng-442b27ac1b1f54669fbb9785d780327f62814431.zip |
bash: use build environment from Makefile
To Makefile target brand, add creation of bash environment in::
utils/brand.env
In bash scripts (manage.sh) source env by::
. utils/brand.env
manage.sh help: show GIT_URL and more environment
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage.sh')
-rwxr-xr-x | manage.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -10,6 +10,7 @@ PYTHONPATH="$BASE_DIR" SEARX_DIR="$BASE_DIR/searx" ACTION="$1" +. "${BASE_DIR}/utils/brand.env" # # Python @@ -186,6 +187,13 @@ Commands Build ----- locales - Compile locales + +Environment: + GIT_URL: ${GIT_URL} + ISSUE_URL: ${ISSUE_URL} + SEARX_URL: ${SEARX_URL} + DOCS_URL: ${DOCS_URL} + PUBLIC_INSTANCES: ${PUBLIC_INSTANCES} " } |