From bea8afca3e94048623be8c4cb7568cb576427d7f Mon Sep 17 00:00:00 2001
From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Date: Sun, 18 May 2025 06:16:35 +1000
Subject: [PATCH] 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>
---
 install-from-binstall-release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install-from-binstall-release.sh b/install-from-binstall-release.sh
index 07393a7e..b228b9d3 100755
--- a/install-from-binstall-release.sh
+++ b/install-from-binstall-release.sh
@@ -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 "$@"
 }