mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
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 <leah@libreboot.org>
This commit is contained in:
@@ -272,6 +272,8 @@ try_fetch_file()
|
|||||||
|
|
||||||
try_curl()
|
try_curl()
|
||||||
{
|
{
|
||||||
|
_ua=""
|
||||||
|
|
||||||
case "$2" in
|
case "$2" in
|
||||||
https://www.supermicro.com/*)
|
https://www.supermicro.com/*)
|
||||||
_ua="curl/8.6.0";;
|
_ua="curl/8.6.0";;
|
||||||
|
|||||||
Reference in New Issue
Block a user