summaryrefslogtreecommitdiff
path: root/include/tree.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-02 06:21:10 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-02 06:33:31 +0100
commit01a779d4ebcdfc7df406263aeb1dffb800eb0220 (patch)
tree801eeb07853aa9c2926471c09f79c2f40ab761de /include/tree.sh
parent0d107ad872b1eb87dcd46e8dc66963696ad08d82 (diff)
get.sh: put tmpclone dirs in xbtmp
and generate them, don't hardcode them - this reduces the chance of race conditions, which we have seen in the past and which current execution flow in xbmk even mitigates in a few places, by doing things in a certain order. this change makes the code more robust and easier to maintain. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/tree.sh')
-rw-r--r--include/tree.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/tree.sh b/include/tree.sh
index a3b8de08..25d6c5c0 100644
--- a/include/tree.sh
+++ b/include/tree.sh
@@ -65,8 +65,6 @@ trees()
targets="$*"
cmd="build_targets $targets"
singletree "$project" && cmd="build_project"
-
- remkdir "${tmpgit%/*}"
}
build_project()