mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
MacOS fix
This commit is contained in:
parent
d8e34e9ac5
commit
af6174508d
@ -71,7 +71,8 @@ else
|
|||||||
echo -n "[3/3] Obtaining PHP:"
|
echo -n "[3/3] Obtaining PHP:"
|
||||||
echo " detecting if build is available..."
|
echo " detecting if build is available..."
|
||||||
if [ "$(uname -s)" == "Darwin" ]; then
|
if [ "$(uname -s)" == "Darwin" ]; then
|
||||||
IS_IOS=$(expr match "$(uname -m)" 'iP[a-zA-Z0-9,]*')
|
UNAME_M=$(uname -m)
|
||||||
|
IS_IOS=$(expr match $UNAME_M 'iP[a-zA-Z0-9,]*')
|
||||||
if [ $IS_IOS -gt 0 ]; then
|
if [ $IS_IOS -gt 0 ]; then
|
||||||
rm -r -f bin/ >> /dev/null 2>&1
|
rm -r -f bin/ >> /dev/null 2>&1
|
||||||
echo -n "[3/3] iOS PHP build available, downloading $IOS_BUILD.tar.gz..."
|
echo -n "[3/3] iOS PHP build available, downloading $IOS_BUILD.tar.gz..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user