download/coreboot: don't needlessly re-download

fsdg20230625
Leah Rowe 2023-05-24 07:16:51 +01:00
parent c616930b71
commit d0171eeff3
1 changed files with 1 additions and 3 deletions

View File

@ -132,9 +132,7 @@ gitclone_coreboot_from_upstream()
[ ! -d coreboot ] && \ [ ! -d coreboot ] && \
return 1 return 1
[ -d coreboot/coreboot ] && \ [ -d coreboot/coreboot ] && \
rm -Rf coreboot/coreboot return 0
[ -d coreboot/coreboot ] && \
return 1
./gitclone coreboot || \ ./gitclone coreboot || \
return 1 return 1
} }