[mac OS] Set flags for curl invocations (#8008)

This commit is contained in:
Vasilii Polikarpov
2023-08-01 15:42:44 +02:00
committed by GitHub
parent 67f9c37eee
commit 463cbf01cf
14 changed files with 18 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash -e -o pipefail
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
curl --proto '=https' --tlsv1.2 -fsSL https://get-ghcup.haskell.org | sh
export PATH="$HOME/.ghcup/bin:$PATH"
echo 'export PATH="$PATH:$HOME/.ghcup/bin"' >> "$HOME/.bashrc"