mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 11:27:07 +00:00
Added exec to start.sh
This commit is contained in:
parent
eeeb6d42c2
commit
cd52cb9ae6
4
start.sh
4
start.sh
@ -2,8 +2,8 @@
|
|||||||
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
if [ -f ./bin/php5/bin/php ]; then
|
if [ -f ./bin/php5/bin/php ]; then
|
||||||
./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@
|
exec ./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||||
else
|
else
|
||||||
echo "[WARNING] You are not using the standalone PocketMine-MP PHP binary."
|
echo "[WARNING] You are not using the standalone PocketMine-MP PHP binary."
|
||||||
php -d enable_dl=On PocketMine-MP.php $@
|
exec php -d enable_dl=On PocketMine-MP.php $@
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user