correct variable references to prevent incorrect globbing

This commit is contained in:
Asif Bacchus 2019-01-04 22:58:24 -07:00
parent 4bc6ffc24c
commit 276f13207b

View File

@ -67,7 +67,7 @@ done
# using certbot? # using certbot?
while true; do while true; do
read -p "Are you using Certbot to handle your SSL certificates? (default: NO) " yn read -p "Are you using Certbot to handle your SSL certificates? (default: NO) " yn
case $yn in case "${yn}" in
[Yy]*) [Yy]*)
useCertbot=1 useCertbot=1
break break
@ -91,7 +91,7 @@ done
if [ "${useCertbot}" -eq 1 ]; then if [ "${useCertbot}" -eq 1 ]; then
while true; do while true; do
read -p "What is the primary domain for your Certbot Certificates? " inputCertbotDomain read -p "What is the primary domain for your Certbot Certificates? " inputCertbotDomain
case $inputCertbotDomain in case "${inputCertbotDomain}" in
'') '')
echo -e "\n${err}You cannot have an empty domain name${norm}" echo -e "\n${err}You cannot have an empty domain name${norm}"
;; ;;