bootstrap-haskell: fx XDG GHCUP_DIR value

This commit is contained in:
Anton-Latukha 2020-11-28 01:41:02 +02:00
parent 3e2df2e111
commit 67f59f6895
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41

View File

@ -8,7 +8,7 @@
export GHCUP_USE_XDG_DIRS
if [ -n "${GHCUP_USE_XDG_DIRS}" ] ; then
GHCUP_DIR=${XDG_DATA_HOME:=$HOME/.local}/ghcup
GHCUP_DIR=${XDG_DATA_HOME:=$HOME/.local/share}/ghcup
GHCUP_BIN=${XDG_BIN_HOME:=$HOME/.local/bin}
else
GHCUP_DIR=${GHCUP_INSTALL_BASE_PREFIX}/.ghcup