diff options
author | Jan Verbeek <ring@openmailbox.org> | 2016-07-05 07:33:43 +0000 |
---|---|---|
committer | Jan Verbeek <ring@openmailbox.org> | 2016-07-05 07:33:43 +0000 |
commit | 42debcfe3c34319dee46ef5faa9ce21baae484bf (patch) | |
tree | f4a6352132297cc2e908f602276b71775fc9e4f2 /manage.sh | |
parent | 9f64fd674558db5f2bdb37676c41bf2f949dcc1f (diff) | |
download | searxng-42debcfe3c34319dee46ef5faa9ce21baae484bf.tar.gz searxng-42debcfe3c34319dee46ef5faa9ce21baae484bf.zip |
Quote variables and backticks
Otherwise the script fails with spaces or asterisks in the directory path.
Diffstat (limited to 'manage.sh')
-rwxr-xr-x | manage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -BASE_DIR=$(dirname `readlink -f $0`) +BASE_DIR=$(dirname "`readlink -f "$0"`") PYTHONPATH=$BASE_DIR SEARX_DIR="$BASE_DIR/searx" ACTION=$1 |