From 88acca544333ea615acf77deab973386d38e9c68 Mon Sep 17 00:00:00 2001 From: naisanza Date: Mon, 11 Dec 2023 16:38:02 +0800 Subject: [PATCH] fix update_schema.sh for spaces in pathname --- veilid-python/update_schema.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veilid-python/update_schema.sh b/veilid-python/update_schema.sh index 84920c6e..f4ab460e 100755 --- a/veilid-python/update_schema.sh +++ b/veilid-python/update_schema.sh @@ -4,7 +4,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # If $VEILID_SERVER is set, use that, otherwise find a valid Veilid server by looking in the usual places if [ -z "${VEILID_SERVER}" ]; then - for VEILID_SERVER_CANDIDATE in ${SCRIPTDIR}/../target/debug/veilid-server; do + for VEILID_SERVER_CANDIDATE in "${SCRIPTDIR}"/../target/debug/veilid-server; do echo -n "Trying Veilid server at ${VEILID_SERVER_CANDIDATE}..." if [ -f "${VEILID_SERVER_CANDIDATE}" ]; then echo " found!"