From: BigfootACA Date: 星期六, 27 Mar 2021 15:40:22 +0000 (+0800) Subject: fix build.sh shellcheck SC2155 X-Git-Tag: v0.2.2~13 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=d05e372771d7232f6e779d7ddff79a8596063447;p=edk2-sdm845.git fix build.sh shellcheck SC2155 --- diff --git a/build.sh b/build.sh index e5f8dc9..129d978 100755 --- a/build.sh +++ b/build.sh @@ -137,7 +137,8 @@ echo "EDK2_PLATFORMS Path: ${_EDK2_PLATFORMS}" export GCC5_AARCH64_PREFIX="${CROSS_COMPILE:-aarch64-linux-gnu-}" export PACKAGES_PATH="$_EDK2:$_EDK2_PLATFORMS:$PWD" export WORKSPACE="${PWD}/workspace" -export GITCOMMIT="$(git describe --tags --always)" +GITCOMMIT="$(git describe --tags --always)"||GITCOMMIT="unknown" +export GITCOMMIT echo > ramdisk set -e python3 assets/generate-logo.py "${GITCOMMIT}"