Skip to content

Commit

Permalink
Fix missing semicolon in ghc-install.sh hook
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerd authored Oct 7, 2024
1 parent 4484b47 commit 88ee540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hooks/stack/ghc-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88ee540

Please sign in to comment.