mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
[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>
This commit is contained in:
parent
3755cf2eba
commit
f9b05a6c44
@ -418,9 +418,9 @@ install_settings() {
|
|||||||
err_msg "you have to install searx first"
|
err_msg "you have to install searx first"
|
||||||
exit 42
|
exit 42
|
||||||
fi
|
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 "install settings ${SEARX_SETTINGS_TEMPLATE}"
|
||||||
info_msg " --> ${SEARX_SETTINGS_PATH}"
|
info_msg " --> ${SEARX_SETTINGS_PATH}"
|
||||||
cp "${SEARX_SETTINGS_TEMPLATE}" "${SEARX_SETTINGS_PATH}"
|
cp "${SEARX_SETTINGS_TEMPLATE}" "${SEARX_SETTINGS_PATH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user