From 62ddede396aa8eccc35528a720e7e0b5e132ab2e Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 07 Mar 2016 09:21:42 -0500 Subject: 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. --- (limited to 'resources/scripts/helpers/download') 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 -- cgit v0.9.1