set-ghc is set now

This commit is contained in:
Julian Ospald 2018-09-30 14:33:42 +08:00
parent 6e1b6e431e
commit b25b907705
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

8
ghcup
View File

@ -557,16 +557,16 @@ install_ghc() {
# shellcheck disable=SC2046 # shellcheck disable=SC2046
edo ln $(optionv "-v") -sf ../ghc/"${myghcver}"/bin/runhaskell "${BIN_LOCATION}/runhaskell-${myghcver}" edo ln $(optionv "-v") -sf ../ghc/"${myghcver}"/bin/runhaskell "${BIN_LOCATION}/runhaskell-${myghcver}"
status_message "Done installing, run \"ghci-${myghcver}\" or set up your current GHC via: ${SCRIPT} set-ghc ${myghcver}" status_message "Done installing, run \"ghci-${myghcver}\" or set up your current GHC via: ${SCRIPT} set ${myghcver}"
unset myghcver inst_location f download_url download_tarball_name unset myghcver inst_location f download_url download_tarball_name
} }
############################ ########################
#--[ Subcommand set-ghc ]--# #--[ Subcommand set ]--#
############################ ########################
# @FUNCTION: set_ghc # @FUNCTION: set_ghc