Update oem/firstvoices/common/build_keyboards.sh

Accept suggestion for checking $KEYBOARDS_TARGET

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Darcy Wong 2020-05-01 11:04:00 +07:00 committed by GitHub
parent 32aa712a46
commit 7c0b82e5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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