forked from Ponysearch/Ponysearch
Quote variables and backticks
Otherwise the script fails with spaces or asterisks in the directory path.
This commit is contained in:
parent
9f64fd6745
commit
42debcfe3c
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Reference in a new issue