Remove bashism
This commit is contained in:
parent
9f2e0ba803
commit
9b82685f14
@ -11,7 +11,7 @@ if [ ! -f ./configure ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
echo "You shouldn't use android-build.sh directly, use android-[arch].sh instead"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user