From 2a240cbd09606fdafb8a98bf714b56513b61f46e Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 7 Jul 2021 20:08:12 +0200 Subject: [PATCH] Make sure HLS and stack installation failures don't exit the entire script Fixes #175 --- bootstrap-haskell | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-haskell b/bootstrap-haskell index bd02859..a99d965 100755 --- a/bootstrap-haskell +++ b/bootstrap-haskell @@ -416,7 +416,7 @@ if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then case $hls_answer in [Yy]*) - eghcup --cache install hls || warn "HLS installation failed, continuing anyway" + _eghcup --cache install hls || warn "HLS installation failed, continuing anyway" break ;; [Nn]* | "") break ;; @@ -443,7 +443,7 @@ if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then case $stack_answer in [Yy]*) - eghcup --cache install stack || warn "Stack installation failed, continuing anyway" + _eghcup --cache install stack || warn "Stack installation failed, continuing anyway" break ;; [Nn]* | "") break ;;