From 78cdc56ae15b922a19cd6c71cec94ae62b6520c1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 17 Jul 2024 18:55:18 +0100 Subject: 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 --- script/trees | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/trees') 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" -- cgit v1.2.1