summaryrefslogtreecommitdiff
path: root/script/build/release/src
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-10 17:34:39 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-10 17:45:56 +0100
commit093d40eec204253a0be3b89f8080f605cbf0ac9a (patch)
tree59841f6d0716623dd3efc91254cac0c32b708842 /script/build/release/src
parent630a65462f165700cf4d734981c483fc038089cc (diff)
build/release/src: be more thorough deleting .git
a few were missed. nuke all of it from orbit. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/release/src')
-rwxr-xr-xscript/build/release/src4
1 files 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/"