diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-09-04 14:33:51 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-09-04 14:33:51 +0300 |
commit | 866a53e30b8d5d693fd514880ad0a0366ef8118c (patch) | |
tree | 1c74d2247d0123d3de0c4b7ecce0cd864150f2a1 /rpb-uefi | |
parent | d06536d98b9b19c3d2f9fc20ba46fca4b099ff36 (diff) |
rpb-uefi: remove bash specific string comparison
Change-Id: I070dde86bc21a767e6c900a1a49af2e357862eb6
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-uefi')
-rwxr-xr-x | rpb-uefi/stable/builders.sh | 8 | ||||
-rwxr-xr-x | rpb-uefi/staging/builders.sh | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/rpb-uefi/stable/builders.sh b/rpb-uefi/stable/builders.sh index 41dee2ecba..5c62242768 100755 --- a/rpb-uefi/stable/builders.sh +++ b/rpb-uefi/stable/builders.sh @@ -50,7 +50,7 @@ OPTEE_GIT_VERSION=$OPTEE_VERSION mkdir ${BUILD_NUMBER}; cd ${BUILD_NUMBER} # Per board repositories overrides -if [ "${MX_PLATFORM}" == "hikey" ]; then +if [ "${MX_PLATFORM}" = "hikey" ]; then EDK2_GIT_URL=https://github.com/96boards-hikey/edk2.git EDK2_GIT_VERSION="origin/hikey-aosp" ATF_GIT_URL=https://github.com/96boards-hikey/arm-trusted-firmware.git @@ -122,7 +122,7 @@ Files-Pattern: * License-Type: open EOF -if [ "${MX_PLATFORM}" == "hikey" ]; then +if [ "${MX_PLATFORM}" = "hikey" ]; then # Additional components for hikey, such as fastboot and l-loader cp -a ${EDK2_DIR}/Build/${IMAGE_DIR}/${MX_TYPE}_*/AARCH64/AndroidFastbootApp.efi out/${BUILD_TYPE} cd ${WORKSPACE}/${BUILD_NUMBER} @@ -163,14 +163,14 @@ Build Description: * OpenPlatformPkg head: $OPEN_PLATFORM_PKG_GIT_VERSION EOF -if [ "$BUILD_ATF" == "yes" ]; then +if [ "$BUILD_ATF" = "yes" ]; then cat >> out/${BUILD_TYPE}/HEADER.textile << EOF * ARM Trusted Firmware: "$ATF_GIT_URL":$ATF_GIT_URL * ARM Trusted Firmware head: $ATF_GIT_VERSION EOF fi -if [ "$BUILD_TOS" == "yes" ]; then +if [ "$BUILD_TOS" = "yes" ]; then cat >> out/${BUILD_TYPE}/HEADER.textile << EOF * OP-TEE OS: "$OPTEE_OS_GIT_URL":$OPTEE_OS_GIT_URL * OP-TEE OS head: $OPTEE_OS_GIT_VERSION diff --git a/rpb-uefi/staging/builders.sh b/rpb-uefi/staging/builders.sh index a7fbf6a696..d51c9f1250 100755 --- a/rpb-uefi/staging/builders.sh +++ b/rpb-uefi/staging/builders.sh @@ -51,7 +51,7 @@ OPTEE_GIT_VERSION=$OPTEE_VERSION mkdir ${BUILD_NUMBER}; cd ${BUILD_NUMBER} # Per board repositories overrides -if [ "${MX_PLATFORM}" == "hikey" ]; then +if [ "${MX_PLATFORM}" = "hikey" ]; then EDK2_GIT_URL=https://github.com/96boards-hikey/edk2.git EDK2_GIT_VERSION="origin/hikey-aosp" ATF_GIT_URL=https://github.com/96boards-hikey/arm-trusted-firmware.git @@ -59,7 +59,7 @@ if [ "${MX_PLATFORM}" == "hikey" ]; then OPEN_PLATFORM_PKG_GIT_URL=https://github.com/96boards-hikey/OpenPlatformPkg.git OPEN_PLATFORM_PKG_GIT_BRANCH=hikey-aosp fi -if [ "${MX_PLATFORM}" == "hikey960" ]; then +if [ "${MX_PLATFORM}" = "hikey960" ]; then EDK2_GIT_URL=https://github.com/96boards-hikey/edk2.git EDK2_GIT_VERSION="origin/testing/hikey960_v2.5" ATF_GIT_VERSION="origin/integration" @@ -133,7 +133,7 @@ Files-Pattern: * License-Type: open EOF -if [ "${MX_PLATFORM}" == "hikey" ]; then +if [ "${MX_PLATFORM}" = "hikey" ]; then # Additional components for hikey, such as fastboot and l-loader cp -a ${EDK2_DIR}/Build/${IMAGE_DIR}/${MX_TYPE}_*/AARCH64/AndroidFastbootApp.efi out/${BUILD_TYPE} cd ${WORKSPACE}/${BUILD_NUMBER} @@ -151,7 +151,7 @@ if [ "${MX_PLATFORM}" == "hikey" ]; then ${WORKSPACE}/out/${BUILD_TYPE}/optee-arm-plat-hikey.tar.xz \ arm-plat-hikey/export-ta_arm64 arm-plat-hikey/export-ta_arm32 fi -if [ "${MX_PLATFORM}" == "hikey960" ]; then +if [ "${MX_PLATFORM}" = "hikey960" ]; then # Additional components for hikey960, such as fastboot and l-loader cp -a ${EDK2_DIR}/Build/${IMAGE_DIR}/${MX_TYPE}_*/AARCH64/AndroidFastbootApp.efi out/${BUILD_TYPE} cd ${WORKSPACE}/${BUILD_NUMBER} @@ -196,14 +196,14 @@ Build Description: * OpenPlatformPkg head: $OPEN_PLATFORM_PKG_GIT_VERSION EOF -if [ "$BUILD_ATF" == "yes" ]; then +if [ "$BUILD_ATF" = "yes" ]; then cat >> out/${BUILD_TYPE}/HEADER.textile << EOF * ARM Trusted Firmware: "$ATF_GIT_URL":$ATF_GIT_URL * ARM Trusted Firmware head: $ATF_GIT_VERSION EOF fi -if [ "$BUILD_TOS" == "yes" ]; then +if [ "$BUILD_TOS" = "yes" ]; then cat >> out/${BUILD_TYPE}/HEADER.textile << EOF * OP-TEE OS: "$OPTEE_OS_GIT_URL":$OPTEE_OS_GIT_URL * OP-TEE OS head: $OPTEE_OS_GIT_VERSION |