android-build: use -z

This commit is contained in:
Frank Denis
2021-12-28 22:41:31 +01:00
parent c72dce4075
commit 75175f8ec6
+1 -1
View File
@@ -18,7 +18,7 @@ if [ ! -f ./configure ]; then
exit 1
fi
if [ "$TARGET_ARCH" = '' ] || [ "$ARCH" = '' ] || [ "$HOST_COMPILER" = '' ]; then
if [ -z "$TARGET_ARCH" ] || [ -z "$ARCH" ] || [ -z "$HOST_COMPILER" ]; then
echo "You shouldn't use android-build.sh directly, use android-[arch].sh instead" >&2
exit 1
fi