Don't test for manpage on windows

This commit is contained in:
Julian Ospald 2024-02-25 18:29:37 +08:00
parent de91dadf5f
commit 3679dde28e
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -111,7 +111,13 @@ case $TOOL in
cabal install --lib --package-env=. clock
# https://github.com/haskell/ghcup-hs/issues/966
cabal install --lib --package-env=. hashable
[[ -e "$(ghcup whereis --directory ghc "$VERSION")/../share/man/man1/ghc.1" ]]
case "$(uname -s)" in
MSYS_*|MINGW*)
;;
*)
[[ -e "$(ghcup whereis --directory ghc "$VERSION")/../share/man/man1/ghc.1" ]]
;;
esac
;;
cabal)
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"