From: Xilin Wu Date: 星期四, 5 May 2022 15:09:50 +0000 (+0800) Subject: Fix build script X-Git-Tag: v2.0rc2~22 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=7d2178af02b882fc56d86caa9b9b563c83c2927a;p=edk2-sdm845.git Fix build script --- diff --git a/build.sh b/build.sh index 4b9f400..b51e995 100755 --- a/build.sh +++ b/build.sh @@ -135,7 +135,7 @@ done if "${DISTCLEAN}";then _distclean;exit "$?";fi if "${CLEAN}";then _clean;exit "$?";fi [ -z "${DEVICE}" ]&&_help 1 -if ! [ -f edk2/edksetup.sh ] || ! [ -f ../edk2/edksetup.sh ] +if ! [ -f edk2/edksetup.sh ] && ! [ -f ../edk2/edksetup.sh ] then set -e echo "Updating submodules" [ -e sdm845Pkg/AcpiTables/.git ]||git clone https://git.renegade-project.org/edk2-sdm845-acpi.git sdm845Pkg/AcpiTables