From 093d40eec204253a0be3b89f8080f605cbf0ac9a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 10 Sep 2023 17:34:39 +0100 Subject: [PATCH] build/release/src: be more thorough deleting .git a few were missed. nuke all of it from orbit. Signed-off-by: Leah Rowe --- script/build/release/src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/build/release/src b/script/build/release/src index e2a4b274..86c435b2 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -164,8 +164,8 @@ purge_files() rm -Rf "${p}/${p}" "${p}"/*/.git* || \ err "purge_files 1: cannot clean ${p} project files" done - rm -Rf .git .gitignore */.git* coreboot/*/3rdparty/*/.git* \ - coreboot/*/util/nvidia/cbootimage/.git* || \ + rm -Rf .git* */.git* */*/.git* */*/*/.git* */*/*/*/.git* \ + */*/*/*/*/.git* */*/*/*/*/*/.git* */*/*/*/*/*/*/.git* || \ err "purge_files rm-rf2: can't purge .git files/directories" rm -Rf cbutils || err "purge_files: can't remove ${srcdir}/cbutils/" rm -Rf elf || err "purge_files: can't remove ${srcdir}/elf/"