mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
get.sh: fix caching of crossgcc tarballs
they were always re-downloading every time. i've basically re-written most of xbmkget. there was some erroneous conditions under which it wrongly deleted the cached file, resulting in it being downloaded again. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ fetch()
|
||||
done; :
|
||||
|
||||
dlop="curl" && [ $# -gt 5 ] && dlop="$6"
|
||||
xbmkget "$dl" "$dl_bkup" "$_dl" "$dlsum" "$dlop"
|
||||
xbmkget "$dlop" "$dl" "$dl_bkup" "$_dl" "$dlsum"
|
||||
|
||||
x_ rm -Rf "${_dl}_extracted"
|
||||
e "$_dest" f && return 0
|
||||
|
||||
Reference in New Issue
Block a user