From 5a55963ca695b62bfff84169707f7ee763354f6f Mon Sep 17 00:00:00 2001 From: hael Date: Mon, 10 Jul 2023 14:32:06 +0000 Subject: [PATCH] DISCOVERY_DIR if fix --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c323ede..ec90d38 100755 --- a/install.sh +++ b/install.sh @@ -84,7 +84,7 @@ discover_services() { DISCOVERY_DIR="/usr/local/bin/" else # while not an absolute path - while [ ${DISCOVERY_DIR:0:1} != "/" ]; do + while [ "${DISCOVERY_DIR:0:1}" != "/" ]; do echo "The path must be absolute, for example /usr/local/bin/. Please type it again." read -r DISCOVERY_DIR; done