More changes ;). Start.sh now supports the new compile path

This commit is contained in:
Shoghi Cervantes
2014-01-29 19:07:43 +01:00
parent 55f4811847
commit e7aea41f80
2 changed files with 4 additions and 9 deletions

View File

@ -1,13 +1,8 @@
#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
if [ -f ./php5/bin/php ]; then
mkdir -m 0777 bin/
mv ./php5/bin/php ./bin/php
rm -r -f ./php5/
fi
if [ -f ./bin/php ]; then
./bin/php -d enable_dl=On PocketMine-MP.php $@
if [ -f ./bin/php/php ]; then
./bin/php/php -d enable_dl=On PocketMine-MP.php $@
else
echo "[WARNING] You are not using the standalone PocketMine-MP PHP binary."
php -d enable_dl=On PocketMine-MP.php $@