diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-24 07:16:51 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-24 07:16:51 +0100 |
commit | d0171eeff33106d03b8314c18207b3a7673fbecf (patch) | |
tree | 6758a2d3e35e01b6a27b4636744822c7e23882f2 /resources/scripts/download/coreboot | |
parent | c616930b71152c52b33b2e97fe43c3fc28ddeeec (diff) |
download/coreboot: don't needlessly re-download
Diffstat (limited to 'resources/scripts/download/coreboot')
-rwxr-xr-x | resources/scripts/download/coreboot | 4 |
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 } |