mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 05:11:03 +00:00
manage.sh : minor change
This commit is contained in:
parent
d51732c0e5
commit
ec62e00df9
1 changed files with 5 additions and 3 deletions
|
@ -1,15 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
BASE_DIR="$(dirname -- "`readlink -f -- "$0"`")"
|
||||
export PATH="$BASE_DIR/node_modules/.bin":$PATH
|
||||
|
||||
cd -- "$BASE_DIR"
|
||||
set -e
|
||||
|
||||
export PATH="$(npm bin)":$PATH
|
||||
|
||||
# subshell
|
||||
PYTHONPATH="$BASE_DIR"
|
||||
SEARX_DIR="$BASE_DIR/searx"
|
||||
ACTION="$1"
|
||||
|
||||
cd -- "$BASE_DIR"
|
||||
set -e
|
||||
|
||||
#
|
||||
# Python
|
||||
|
|
Loading…
Reference in a new issue