summaryrefslogtreecommitdiff
path: root/resources/scripts/download
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-24 07:16:51 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-24 07:16:51 +0100
commitd0171eeff33106d03b8314c18207b3a7673fbecf (patch)
tree6758a2d3e35e01b6a27b4636744822c7e23882f2 /resources/scripts/download
parentc616930b71152c52b33b2e97fe43c3fc28ddeeec (diff)
download/coreboot: don't needlessly re-download
Diffstat (limited to 'resources/scripts/download')
-rwxr-xr-xresources/scripts/download/coreboot4
1 files changed, 1 insertions, 3 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index ccb407b3..72597c57 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -132,9 +132,7 @@ gitclone_coreboot_from_upstream()
[ ! -d coreboot ] && \
return 1
[ -d coreboot/coreboot ] && \
- rm -Rf coreboot/coreboot
- [ -d coreboot/coreboot ] && \
- return 1
+ return 0
./gitclone coreboot || \
return 1
}