Fix install-from-binstall-release.sh

Use do_curl() instead of function do_curl as the latter is non standard

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2025-05-18 06:16:35 +10:00 committed by GitHub
parent 5e57a0c6ae
commit bea8afca3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
set -eux
function do_curl {
do_curl() {
curl --retry 10 -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L --proto '=https' --tlsv1.2 -sSf "$@"
}