diff options
author | Leah Rowe <leah@libreboot.org> | 2024-07-17 13:27:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-07-17 13:27:50 +0100 |
commit | 4438368c0cc0a0a8d16de8f7fab78c777c21ca1b (patch) | |
tree | cbd82697597f9d3a59130ace9a34a73126ef4c61 /script/trees | |
parent | 570e3abb24a9d6a71d28ec468475d7a458089b78 (diff) |
trees: also remove single-tree repo/p/
single-tree repos were not previously cached, but now
they are and they have to be handled.
this, as also alluded to in the previous commit, is done
when preparing release archives (XBMK_RELEASE=y)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-x | script/trees | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/trees b/script/trees index 873c4c7c..c31152fb 100755 --- a/script/trees +++ b/script/trees @@ -38,8 +38,7 @@ main() [ -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" ] || singletree "$p" || \ - x_ rm -Rf "repo/$p"; continue + [ "$XBMK_RELEASE" != "y" ] || x_ rm -Rf "repo/$p"; continue done && return 1 [ -f "config/git/$project/pkg.cfg" ] || $err "'$project' not defined" |