From 0f93368ea04cdc56530bb0b50bded12e823dd4b5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 21 Feb 2026 17:44:01 +0000 Subject: get.sh: properly initialise _ua it is currently only initialised inside case conditions. this is fine on most shells, but some of them can be a bit buggy here. initialise it empty and then override. Signed-off-by: Leah Rowe --- include/get.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/get.sh') diff --git a/include/get.sh b/include/get.sh index 834acd08..3e25ea3f 100644 --- a/include/get.sh +++ b/include/get.sh @@ -272,6 +272,8 @@ try_fetch_file() try_curl() { + _ua="" + case "$2" in https://www.supermicro.com/*) _ua="curl/8.6.0";; -- cgit v1.2.1