diff options
author | Alex <alex@al-f.net> | 2018-08-01 11:53:08 +0200 |
---|---|---|
committer | Alex <alex@al-f.net> | 2018-08-01 11:53:08 +0200 |
commit | ec62e00df97839a467c5a472b617354b861eb402 (patch) | |
tree | f4fbfbb8eee99fb2b70c4e9917b565544f273ddb /manage.sh | |
parent | d51732c0e5e89f86abfe68718277a2e21b190103 (diff) | |
download | searxng-ec62e00df97839a467c5a472b617354b861eb402.tar.gz searxng-ec62e00df97839a467c5a472b617354b861eb402.zip |
manage.sh : minor change
Diffstat (limited to 'manage.sh')
-rwxr-xr-x | manage.sh | 8 |
1 files changed, 5 insertions, 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 |