From 468fc5ade99a1fd4a949a98e267efc75b9dc8e8a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 9 Jun 2021 15:02:11 +0200 Subject: [PATCH] Use absolute ghcup binary path --- bootstrap-haskell | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-haskell b/bootstrap-haskell index 412ec8d..d077bc2 100755 --- a/bootstrap-haskell +++ b/bootstrap-haskell @@ -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 }