DISCOVERY_DIR if fix
This commit is contained in:
@@ -84,7 +84,7 @@ discover_services() {
|
|||||||
DISCOVERY_DIR="/usr/local/bin/"
|
DISCOVERY_DIR="/usr/local/bin/"
|
||||||
else
|
else
|
||||||
# while not an absolute path
|
# 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."
|
echo "The path must be absolute, for example /usr/local/bin/. Please type it again."
|
||||||
read -r DISCOVERY_DIR;
|
read -r DISCOVERY_DIR;
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user