summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-17 18:55:18 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-17 18:55:18 +0100
commit78cdc56ae15b922a19cd6c71cec94ae62b6520c1 (patch)
treee98b921e8ccdbbe39a73bceb8852d84aae24e24f /script/trees
parente6990378905763a965a900905d530934da9e7426 (diff)
trees: remove unnecessary command
we no longer need to remove cache/ per project, because it's removed in bulk at the end, in the main build script, when generating release archives. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/trees b/script/trees
index 1e3a6c29..d3ac03f9 100755
--- a/script/trees
+++ b/script/trees
@@ -37,8 +37,7 @@ main()
done
[ -z "$_f" ] && $err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)"
[ -z "$project" ] && for p in $(ls -1 config/git); do
- ./update trees $_f "$p" || $err "!./update trees $_f $p"
- [ "$XBMK_RELEASE" != "y" ] || x_ rm -Rf "cache/repo/$p"; :
+ ./update trees $_f "$p" || $err "!./update trees $_f $p"; :
done && return 1
[ -f "config/git/$project/pkg.cfg" ] || $err "'$project' not defined"