download_and_compile.sh: add missing quoting

This is needed because $answer will be empty in case the default $2 is
empty and the user hits Enter at the prompt.
This commit is contained in:
Florent Rougon 2020-05-24 11:39:27 +02:00
parent 420034d5b5
commit 00710497b0

View File

@ -125,7 +125,7 @@ function _yes_no_quit_prompt(){
answer="$default" answer="$default"
fi fi
case $answer in case "$answer" in
[yY]) res=0; break ;; [yY]) res=0; break ;;
[nN]) res=1; break ;; [nN]) res=1; break ;;
[qQ]) res=2; break ;; [qQ]) res=2; break ;;