Fix cd when CDPATH is set wrt #98
This commit is contained in:
parent
01f7a58565
commit
ed456d2071
4
ghcup
4
ghcup
@ -1360,7 +1360,7 @@ install_ghc() {
|
|||||||
unpack "${download_tarball_name}"
|
unpack "${download_tarball_name}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
edo cd "ghc-${myghcver}"
|
edo cd "./ghc-${myghcver}"
|
||||||
|
|
||||||
debug_message "Installing GHC into ${inst_location}"
|
debug_message "Installing GHC into ${inst_location}"
|
||||||
|
|
||||||
@ -1649,7 +1649,7 @@ compile_ghc() {
|
|||||||
unpack "${download_tarball_name}"
|
unpack "${download_tarball_name}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
edo cd "ghc-${myghcver}"
|
edo cd "./ghc-${myghcver}"
|
||||||
|
|
||||||
if [ -n "${build_config}" ] ; then
|
if [ -n "${build_config}" ] ; then
|
||||||
edo cat "${build_config}" > mk/build.mk
|
edo cat "${build_config}" > mk/build.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user