bypass a few errors on installer.sh

This commit is contained in:
Shoghi Cervantes 2014-02-07 19:23:16 +01:00
parent af6174508d
commit bcee4e7c21

View File

@ -71,8 +71,10 @@ else
echo -n "[3/3] Obtaining PHP:"
echo " detecting if build is available..."
if [ "$(uname -s)" == "Darwin" ]; then
set +e
UNAME_M=$(uname -m)
IS_IOS=$(expr match $UNAME_M 'iP[a-zA-Z0-9,]*')
set -e
if [ $IS_IOS -gt 0 ]; then
rm -r -f bin/ >> /dev/null 2>&1
echo -n "[3/3] iOS PHP build available, downloading $IOS_BUILD.tar.gz..."