diff options
author | Adam Tauber <asciimoo@gmail.com> | 2018-08-19 13:17:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 13:17:14 +0200 |
commit | 1767970ef9f6f2c940c73a9a9fc37bac1725db1b (patch) | |
tree | 0cf040582a87280281cbe3e2af4e98fa189c191d | |
parent | ecb7636a969093f0721ced5ed9d8e8dbac4102a8 (diff) | |
parent | ec62e00df97839a467c5a472b617354b861eb402 (diff) | |
download | searxng-1767970ef9f6f2c940c73a9a9fc37bac1725db1b.tar.gz searxng-1767970ef9f6f2c940c73a9a9fc37bac1725db1b.zip |
Merge pull request #1355 from asciimoo/manage.sh
manage.sh : minor change
-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 |