Fix BOOTSTRAP_HASKELL_NONINTERACTIVE
This commit is contained in:
parent
c460d4c743
commit
8786acf476
@ -195,6 +195,8 @@ printf "\\033[0;35m%s\\033[0m\\n" ""
|
|||||||
printf "\\033[0;35m%s\\033[0m\\n" "Answer with YES or NO and press ENTER."
|
printf "\\033[0;35m%s\\033[0m\\n" "Answer with YES or NO and press ENTER."
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" ""
|
printf "\\033[0;35m%s\\033[0m\\n" ""
|
||||||
|
|
||||||
|
|
||||||
|
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
||||||
while true; do
|
while true; do
|
||||||
read -r hls_answer </dev/tty
|
read -r hls_answer </dev/tty
|
||||||
|
|
||||||
@ -209,7 +211,6 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
|
||||||
echo "In order to run ghc and cabal, you need to adjust your PATH variable."
|
echo "In order to run ghc and cabal, you need to adjust your PATH variable."
|
||||||
echo "You may want to source '$GHCUP_DIR/env' in your shell"
|
echo "You may want to source '$GHCUP_DIR/env' in your shell"
|
||||||
echo "configuration to do so (e.g. ~/.bashrc)."
|
echo "configuration to do so (e.g. ~/.bashrc)."
|
||||||
|
Loading…
Reference in New Issue
Block a user