put cachedir in environmental variable

XBMK_CACHE is now used, instead of hardcoding cache/

this is exported initialised to cache/, if unset.
this means you can set your own directory, and it means
./update release will use the same directory.

this means bandwidth wastage is further avoided.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-07-19 00:31:57 +01:00
parent 0e0b12a630
commit 2b50b3ea9a
5 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ build_release()
cd "$srcdir" || $err "$vdir: !cd \"$srcdir\""
./update trees -f
rmgit .
x_ rm -Rf cache tmp
x_ rm -Rf tmp
x_ mv src/docs docs
) || $err "can't create release files"