Fixed #200 Running in a folder with spaces

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-14 13:10:04 +02:00
parent 633f7233b4
commit 88a4116398

View File

@ -1,6 +1,6 @@
#!/bin/bash
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd "$DIR"
if [ -f php5/bin/php ]; then
./php5/bin/php -d enable_dl=On PocketMine-MP.php $@
read -p "Press [Enter] to continue..."