Skip to content

Commit

Permalink
Update allsky-config.sh: Add "-e" to echo
Browse files Browse the repository at this point in the history
And fix a shellcheck error
  • Loading branch information
EricClaeys authored Jan 21, 2025
1 parent 4c6f22e commit 63fe890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/utilities/allsky-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -391,7 +391,7 @@ function L()
{
local NAME="${1}"

local NUM="$( printf "%2d" ${N} )"
local NUM="$( printf "%2d" "${N}" )"
echo -e "${NUM}. ${NAME}"
}

Expand Down

0 comments on commit 63fe890

Please sign in to comment.