From eed46922d2a41f4eca486c09598a91f5863ede8b Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Sat, 4 Sep 2021 23:55:24 +0800 Subject: [PATCH] build.sh: only clone AcpiTables when not exists Signed-off-by: BigfootACA --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7e7876a..2d6271f 100755 --- a/build.sh +++ b/build.sh @@ -113,7 +113,7 @@ if "${CLEAN}";then _clean;exit "$?";fi if ! [ -f edk2/edksetup.sh ] || ! [ -f ../edk2/edksetup.sh ] then set -e echo "Updating submodules" - git clone https://git.renegade-project.org/edk2-sdm845-acpi.git sdm845Pkg/AcpiTables + [ -e sdm845Pkg/AcpiTables/.git ]||git clone https://git.renegade-project.org/edk2-sdm845-acpi.git sdm845Pkg/AcpiTables if "${CHINESE}" then git submodule set-url edk2 https://hub.fastgit.org/tianocore/edk2.git git submodule set-url edk2-platforms https://hub.fastgit.org/tianocore/edk2-platforms.git -- 2.45.2