diff --git a/packcheck.sh b/packcheck.sh index 805937e..13ca6b8 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -970,7 +970,7 @@ ensure_ghc() { echo else ghcup_install ghc $GHCVER - if test -n "$GHCVER" -a "$COMPILER" -ne "ghc-head" + if test -n "$GHCVER" -a "$COMPILER" != "ghc-head" then COMPILER="$COMPILER-$GHCVER" fi