From 88ee540e5fbb269051b6bf95d812aad42a703132 Mon Sep 17 00:00:00 2001 From: David Adler <2301999+adlerd@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:36:42 -0400 Subject: [PATCH] Fix missing semicolon in ghc-install.sh hook --- scripts/hooks/stack/ghc-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hooks/stack/ghc-install.sh b/scripts/hooks/stack/ghc-install.sh index ac98e3a9..25451744 100644 --- a/scripts/hooks/stack/ghc-install.sh +++ b/scripts/hooks/stack/ghc-install.sh @@ -9,7 +9,7 @@ set -eu case $HOOK_GHC_TYPE in bindist) - ghc_path=$(ghcup whereis ghc "$HOOK_GHC_VERSION" || { ghcup install ghc "$HOOK_GHC_VERSION" >/dev/null && ghcup whereis ghc "$HOOK_GHC_VERSION" ; }) || { >&2 echo "Installing $HOOK_GHC_VERSION via ghcup failed" exit 3 ;} + ghc_path=$(ghcup whereis ghc "$HOOK_GHC_VERSION" || { ghcup install ghc "$HOOK_GHC_VERSION" >/dev/null && ghcup whereis ghc "$HOOK_GHC_VERSION" ; }) || { >&2 echo "Installing $HOOK_GHC_VERSION via ghcup failed" ; exit 3 ;} printf "%s" "${ghc_path}" ;; git)