Skip to content

Commit 3949c7f

Browse files
committed
add debug info
1 parent 2625e12 commit 3949c7f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/bootstrap/bootstrap-haskell

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ die() {
3939
exit 2
4040
}
4141

42+
echo "DEBUG:START"
4243
plat="$(uname -s)"
44+
echo "DEBUG:plat ${plat}"
4345
arch=$(uname -m)
4446
ghver="0.1.50.2"
4547
: "${GHCUP_BASE_URL:=https://downloads.haskell.org/~ghcup}"
@@ -107,6 +109,9 @@ case "${plat}" in
107109
;;
108110
esac
109111

112+
echo "DEBUG:GHCUP_INSTALL_BASE_PREFIX ${GHCUP_INSTALL_BASE_PREFIX}"
113+
echo "DEBUG:GHCUP_DIR ${GHCUP_DIR}"
114+
110115
: "${BOOTSTRAP_HASKELL_GHC_VERSION:=recommended}"
111116
: "${BOOTSTRAP_HASKELL_CABAL_VERSION:=recommended}"
112117
: "${BOOTSTRAP_HASKELL_STACK_VERSION:=recommended}"

0 commit comments

Comments
 (0)