From d0171eeff33106d03b8314c18207b3a7673fbecf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 24 May 2023 07:16:51 +0100 Subject: download/coreboot: don't needlessly re-download --- resources/scripts/download/coreboot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'resources') 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 } -- cgit v1.2.1