diff --git a/dist-build/android-build.sh b/dist-build/android-build.sh index b75af90f..19e837bb 100755 --- a/dist-build/android-build.sh +++ b/dist-build/android-build.sh @@ -11,7 +11,7 @@ if [ ! -f ./configure ]; then exit 1 fi -if [[ -z $TARGET_ARCH ]] || [[ -z $HOST_COMPILER ]]; then +if [ "x$TARGET_ARCH" = 'x' ] || [ "x$HOST_COMPILER" = 'x' ]; then echo "You shouldn't use android-build.sh directly, use android-[arch].sh instead" exit 1 fi