summaryrefslogtreecommitdiffstats
path: root/resources/scripts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-07 09:21:42 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-07 09:21:42 (EST)
commit62ddede396aa8eccc35528a720e7e0b5e132ab2e (patch)
tree9a7a1f9ac31f4bb093d6137767cc14e6d23ecd4f /resources/scripts
parent139f3728d55a35485d20287f1520e99c3807bea7 (diff)
downloadlibreboot-62ddede396aa8eccc35528a720e7e0b5e132ab2e.zip
libreboot-62ddede396aa8eccc35528a720e7e0b5e132ab2e.tar.gz
libreboot-62ddede396aa8eccc35528a720e7e0b5e132ab2e.tar.bz2
download/coreboot: Fix error that caused .git not to be deleted in crossgcc
For the crossgcc archive, we were deleting *.git, but this is wrong. It meant that yes, we were deleting the .git directory, but not the .gitmodules file, which meant that 3rdparty repositories were being cloned when re-adding our own deblobbed .git directory. This patch fixes that freedom bug.
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/helpers/download/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot
index 646872b..600d6de 100755
--- a/resources/scripts/helpers/download/coreboot
+++ b/resources/scripts/helpers/download/coreboot
@@ -158,7 +158,7 @@ rm -Rf "coreboot/"
# ------------------------------------------------------------------------------
printf "Deleting .git* in coreboot/ (history inside .git contains the blobs that were deleted)\n"
-rm -Rf */*/.git* ../crossgcc/*.git
+rm -Rf */*/.git* ../crossgcc/.git*
rm -Rf */*/3rdparty/*/.git*
# Delete crossgcc from non-crossgcc coreboot archives