summaryrefslogtreecommitdiff
path: root/utils/searx.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-04-12 17:24:00 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-04-23 11:14:29 +0200
commitf9b05a6c4443722ed866ed7195a6f273fcce779a (patch)
treeec584020af1cfc8b67eaaefd22f1bc8a54db69df /utils/searx.sh
parent3755cf2eba17a98d8e78e0a286aa69a27e2041e6 (diff)
downloadsearxng-f9b05a6c4443722ed866ed7195a6f273fcce779a.tar.gz
searxng-f9b05a6c4443722ed866ed7195a6f273fcce779a.zip
[fix] utils/searx.sh - Double quote to prevent globbing
Fix issues reported by `make test.sh` Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-xutils/searx.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/searx.sh b/utils/searx.sh
index d2dbe79b6..578438698 100755
--- a/utils/searx.sh
+++ b/utils/searx.sh
@@ -418,9 +418,9 @@ install_settings() {
err_msg "you have to install searx first"
exit 42
fi
- mkdir -p "$(dirname ${SEARX_SETTINGS_PATH})"
+ mkdir -p "$(dirname "${SEARX_SETTINGS_PATH}")"
- if [[ ! -f ${SEARX_SETTINGS_PATH} ]]; then
+ if [[ ! -f "${SEARX_SETTINGS_PATH}" ]]; then
info_msg "install settings ${SEARX_SETTINGS_TEMPLATE}"
info_msg " --> ${SEARX_SETTINGS_PATH}"
cp "${SEARX_SETTINGS_TEMPLATE}" "${SEARX_SETTINGS_PATH}"