summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/"