New Raspbian build, fixes #1168 #1165

This commit is contained in:
Shoghi Cervantes 2014-02-05 12:07:03 +01:00
parent 5030dc0bd1
commit 3ac90dec47

View File

@ -1,7 +1,7 @@
#!/bin/bash
PMMP_VERSION=""
MAC_BUILD="PHP_5.5.8_x86_MacOS"
RPI_BUILD="PHP_5.5.3_ARM_Raspbian_hard"
RPI_BUILD="PHP_5.5.8_ARM_Raspbian_hard"
AND_BUILD="PHP_5.5.8_ARMv7_Android"
update=off
@ -70,6 +70,9 @@ else
echo -n "[3/3] Obtaining PHP:"
echo " detecting if build is available..."
if [ "$(uname -s)" == "Darwin" ]; then
if ["$(uname -s)" == iPhone*] || ["$(uname -s)" == iPod*] || ["$(uname -s)" == iPad*]; then
else
rm -r -f bin/ >> /dev/null 2>&1
echo -n "[3/3] Mac OSX PHP build available, downloading $MAC_BUILD.tar.gz..."
download_file "http://sourceforge.net/projects/pocketmine/files/builds/$MAC_BUILD.tar.gz" | tar -zx > /dev/null 2>&1
@ -89,6 +92,7 @@ else
echo "short_open_tag=0" >> "./bin/php5/lib/php.ini"
echo "asp_tags=0" >> "./bin/php5/lib/php.ini"
echo " done"
fi
else
set +e
grep -q BCM2708 /proc/cpuinfo > /dev/null 2>&1