From 63fe8904c0ad1b2dccb4a9fb1d081a74df75501a Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Mon, 20 Jan 2025 22:22:55 -0600 Subject: [PATCH] Update allsky-config.sh: Add "-e" to echo And fix a shellcheck error --- scripts/utilities/allsky-config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utilities/allsky-config.sh b/scripts/utilities/allsky-config.sh index 03137b19f..ba0e4b0ca 100755 --- a/scripts/utilities/allsky-config.sh +++ b/scripts/utilities/allsky-config.sh @@ -196,7 +196,7 @@ function compare_paths() if [[ ${ARGS} == "--server" ]]; then PROMPT="\nEnter the URL of the server (must begin with 'http' or 'https'):" while ! A="$( getInput "${PROMPT}" )" ; do - echo "\nYou must enter a URL." + echo -e "\nYou must enter a URL." done ARGS+=" ${A}" fi @@ -391,7 +391,7 @@ function L() { local NAME="${1}" - local NUM="$( printf "%2d" ${N} )" + local NUM="$( printf "%2d" "${N}" )" echo -e "${NUM}. ${NAME}" }