fix(core): Unknown template error when using -init caused by single quotes on string.

This commit is contained in:
purple 2023-10-13 20:20:45 +02:00
parent 5cba275cda
commit 68cf3efc7e

View file

@ -886,7 +886,7 @@ if [[ ( $2 == "-init" || $2 == "-I" ) ]]; then VCMD="y"
fi
# Unknown template.
if [[ $(echo -e "$(curl 'https://raw.githubusercontent.com/teamblueprint/templates/main/$ASKTEMPLATE/TemplateConfiguration.yml' 2> /dev/null)") == "404: Not Found" ]]; then
if [[ $(echo -e "$(curl "https://raw.githubusercontent.com/teamblueprint/templates/main/$ASKTEMPLATE/TemplateConfiguration.yml" 2> /dev/null)") == "404: Not Found" ]]; then
log_red "[FATAL] Unknown template, please choose a valid option."
REDO_TEMPLATE=true
fi