diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-14 16:28:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-14 16:28:29 +0100 |
commit | e9fe5a74a2e66906721fe2ca1beb1f14784cf675 (patch) | |
tree | 5b1b1300c416907c85220e4e68f2743ea382a41a /include/vendor.sh | |
parent | 6089716f07caf6b4690df1e1c2f2089a27a0b514 (diff) |
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>
Diffstat (limited to 'include/vendor.sh')
-rw-r--r-- | include/vendor.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index fb49cca5..823ba74f 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -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 |