mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Allow for command-line arguments to starter scripts
This commit is contained in:
parent
d9e9b9fd22
commit
50ae0953ac
2 changed files with 6 additions and 6 deletions
4
start.sh
4
start.sh
|
|
@ -2,10 +2,10 @@
|
|||
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR
|
||||
if [ -f php5/bin/php ]; then
|
||||
./php5/bin/php -d enable_dl=On PocketMine-MP.php
|
||||
./php5/bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||
read -p "Press [Enter] to continue..."
|
||||
exit 0
|
||||
fi
|
||||
php -d enable_dl=On PocketMine-MP.php
|
||||
php -d enable_dl=On PocketMine-MP.php $@
|
||||
read -p "Press [Enter] to continue..."
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue