summaryrefslogtreecommitdiff
path: root/include/tree.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-07 15:24:02 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-07 15:24:02 +0100
commit4475b4db4b3552866889ea025656bdbf3683032c (patch)
treeef20663d2f324e5ab8a05a83884630d8d760b3b3 /include/tree.sh
parentf5e8483f417db6b36a2ad660faf40475edd5ed1b (diff)
init.sh/tree.sh: put PATH dirs in xbtmp
e.g. gnupath, xbmkpath these currently go in XBMK_CACHE/, which is bad because they're meant to be temporary. XBMK_CACHE is for permanent files. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/tree.sh')
-rw-r--r--include/tree.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tree.sh b/include/tree.sh
index a3b8de08..7dbb04cc 100644
--- a/include/tree.sh
+++ b/include/tree.sh
@@ -241,7 +241,7 @@ check_cross_compiler()
make -C "$cbdir" $xgccargs || x_ make -C "$cbdir" $xgccargs
x_ touch "$xgccfile"
- remkdir "$XBMK_CACHE/gnupath" # reset hostcc
+ remkdir "$xbtmp/gnupath" # reset hostcc
}
# fix mismatching gcc/gnat versions on debian trixie/sid. as of december 2024,
@@ -269,7 +269,7 @@ check_gnu_path()
[ "$gnatfull" = "$gccfull" ] || return 1
(
- remkdir "$XBMK_CACHE/gnupath" && x_ cd "$XBMK_CACHE/gnupath"
+ remkdir "$xbtmp/gnupath" && x_ cd "$xbtmp/gnupath"
for _gnubin in "$_gnudir/$2"*"-$_gnuver"; do
_gnuutil="${_gnubin##*/}" && [ -e "$_gnubin" ] && \
x_ ln -s "$_gnubin" "${_gnuutil%"-$_gnuver"}"