mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
get.sh: add try_fetch_copy function
just a skeleton that calls the curl function Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -154,6 +154,11 @@ try_fetch_git()
|
||||
return 1; :
|
||||
}
|
||||
|
||||
try_fetch_copy()
|
||||
{
|
||||
try_fetch_curl "$@" || return 1; :
|
||||
}
|
||||
|
||||
try_fetch_curl()
|
||||
{
|
||||
cached="file/$6"
|
||||
|
||||
Reference in New Issue
Block a user