Remove bashism

This commit is contained in:
Frank Denis 2014-03-04 09:20:53 -08:00
parent 9f2e0ba803
commit 9b82685f14

View File

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