From: BigfootACA Date: 星期六, 4 Sep 2021 15:55:24 +0000 (+0800) Subject: build.sh: only clone AcpiTables when not exists X-Git-Tag: v1.0.3~3^2~3 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=eed46922d2a41f4eca486c09598a91f5863ede8b;p=edk2-sdm845.git build.sh: only clone AcpiTables when not exists Signed-off-by: BigfootACA --- 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