aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-07 14:21:42 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-03-07 14:21:42 +0000
commit62ddede396aa8eccc35528a720e7e0b5e132ab2e (patch)
tree9a7a1f9ac31f4bb093d6137767cc14e6d23ecd4f /resources
parent139f3728d55a35485d20287f1520e99c3807bea7 (diff)
downloadlibrebootfr-62ddede396aa8eccc35528a720e7e0b5e132ab2e.tar.gz
librebootfr-62ddede396aa8eccc35528a720e7e0b5e132ab2e.zip
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')
-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 646872b0..600d6de9 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