Use absolute ghcup binary path

This commit is contained in:
2021-06-09 15:02:11 +02:00
parent 2c077db36b
commit 468fc5ade9

View File

@@ -73,9 +73,9 @@ _eghcup() {
args="-s ${BOOTSTRAP_HASKELL_YAML}"
fi
if [ -z "${BOOTSTRAP_HASKELL_VERBOSE}" ] ; then
ghcup ${args} "$@"
"${GHCUP_BIN}/ghcup" ${args} "$@"
else
ghcup ${args} --verbose "$@"
"${GHCUP_BIN}/ghcup" ${args} --verbose "$@"
fi
}