From 7c0b82e5fc4e0e57ddd853a2a7ccb1dfb05c5671 Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Fri, 1 May 2020 11:04:00 +0700 Subject: [PATCH] Update oem/firstvoices/common/build_keyboards.sh Accept suggestion for checking $KEYBOARDS_TARGET Co-authored-by: Marc Durdin --- oem/firstvoices/common/build_keyboards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oem/firstvoices/common/build_keyboards.sh b/oem/firstvoices/common/build_keyboards.sh index ec4ace8819..7ead3ceb73 100755 --- a/oem/firstvoices/common/build_keyboards.sh +++ b/oem/firstvoices/common/build_keyboards.sh @@ -84,7 +84,7 @@ while [[ $# -gt 0 ]] ; do done # Check that $KEYBOARDS_TARGET is valid -if [[ $KEYBOARDS_TARGET == "" ]]; then +if [[ -z "$KEYBOARDS_TARGET" ]]; then die "KEYBOARDS_TARGET cannot be empty" fi