fixup! shellcheck

This commit is contained in:
Sam Halliday 2019-08-28 21:17:40 +01:00
parent cfa2986e0c
commit b2e0db9031

2
ghcup
View File

@ -1776,7 +1776,7 @@ compile_ghc() {
if echo "${myghcver}" | sed 's/[.]//g' | awk '{ exit ($0 < 881) ? 0 : 1 }' ; then
edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}"
else
GHC=$(which "${bootstrap_ghc}") edo ./configure --prefix="${inst_location}"
GHC=$(command -v "${bootstrap_ghc}") edo ./configure --prefix="${inst_location}"
fi
emake -j${JOBS}
emake install