summaryrefslogtreecommitdiff
path: root/utils/morty.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-30 11:03:46 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-30 11:03:46 +0200
commit3e4d022d0425e4f7647573c97f105aa5208e5537 (patch)
treedd766844932ba637e3aad4c23ae06f09416abac6 /utils/morty.sh
parent5e2b161379420acd39e0474bb7f59545df7e1f3a (diff)
downloadsearxng-3e4d022d0425e4f7647573c97f105aa5208e5537.tar.gz
searxng-3e4d022d0425e4f7647573c97f105aa5208e5537.zip
[fix] make test.sh: fix various shellcheck error messages
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/morty.sh')
-rwxr-xr-xutils/morty.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/morty.sh b/utils/morty.sh
index a20cde36c..e6e14be8a 100755
--- a/utils/morty.sh
+++ b/utils/morty.sh
@@ -16,7 +16,7 @@ in_container && lxc_set_suite_env
PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty}"
-PUBLIC_URL_MORTY="$(echo $PUBLIC_URL | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}"
+PUBLIC_URL_MORTY="$(echo "$PUBLIC_URL" | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}"
MORTY_LISTEN="${MORTY_LISTEN:-127.0.0.1:3000}"
# shellcheck disable=SC2034