From ec283aab525dd55c6e8bd48a3e59d89f1c81899c Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 8 Nov 2023 00:40:56 -0600 Subject: [PATCH] excalibur: minor shell fixes. --- excalidraw_backend.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/excalidraw_backend.sh b/excalidraw_backend.sh index 63b0373..07f4c28 100644 --- a/excalidraw_backend.sh +++ b/excalidraw_backend.sh @@ -47,9 +47,9 @@ EXCAL_PORT_FILE="src/index.ts" # Test for matches test_match() { if grep -q "$1" "$2" ; then - echo "It is possible to setup "$(basename $2)", continuing..." + echo "It is possible to setup $(basename "$2"), continuing..." else - echo "It is not possible to setup "$(basename $2)", stopping here." + echo "It is not possible to setup $(basename "$2"), stopping here." echo "Please report this to https://forge.switnet.net/switnet/quick-jibri-installer" exit fi @@ -110,8 +110,8 @@ else sed -i "/$PROS_MATCH3/i \\\n" "$PROSODY_FILE" fi -echo "Checking for "$(basename $MEET_CONF)" setup." -if [ -z "$(sed -n '/whiteboard: {/,/},/p' $MEET_CONF)" ]; then +echo "Checking for $(basename "$MEET_CONF") setup." +if [ -z "$(sed -n '/whiteboard: {/,/},/p' "$MEET_CONF")" ]; then echo "No present configuration on current config.js file" sed -i "/$CONFIG_MATCH1/i \\\n" "$MEET_CONF" sed -i "/$CONFIG_MATCH1/i \ \ \ \ whiteboard: {" "$MEET_CONF"