From e4278bcf739a5fce39a3b28f3ab9be167c795bf1 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Wed, 27 Jan 2021 13:09:10 +0800 Subject: [PATCH] change build.sh default operation --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 1f3b776..aa9f0fb 100755 --- a/build.sh +++ b/build.sh @@ -57,6 +57,7 @@ do case "${1}" in *)_help 1;; esac done +[ -z "${DEVICE}" ]&&_help 1 if ! [ -f edk2/edksetup.sh ] || ! [ -f ../edk2/edksetup.sh ] then set -e echo "Updating submodules" @@ -107,9 +108,7 @@ export WORKSPACE="${PWD}/workspace" echo > ramdisk set -e python3 assets/generate-logo.py -if [ -z "${DEVICE}" ] -then _help 1 -elif [ "${DEVICE}" == "all" ] +if [ "${DEVICE}" == "all" ] then E=0 for i in "${DEVICES[@]}" do echo "Building ${i}" -- 2.45.2