mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
Oops ;)
This commit is contained in:
parent
ac2abccf41
commit
55f4811847
@ -109,6 +109,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
rm -r -f install_data/ >> "$DIR/install.log" 2>&1
|
rm -r -f install_data/ >> "$DIR/install.log" 2>&1
|
||||||
|
rm -r -f php5/ >> "$DIR/install.log" 2>&1
|
||||||
rm -r -f bin/ >> "$DIR/install.log" 2>&1
|
rm -r -f bin/ >> "$DIR/install.log" 2>&1
|
||||||
mkdir -m 0777 install_data >> "$DIR/install.log" 2>&1
|
mkdir -m 0777 install_data >> "$DIR/install.log" 2>&1
|
||||||
mkdir -m 0777 php5 >> "$DIR/install.log" 2>&1
|
mkdir -m 0777 php5 >> "$DIR/install.log" 2>&1
|
||||||
@ -233,8 +234,8 @@ if [ "$1" == "crosscompile" ]; then
|
|||||||
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no"
|
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
./configure $OPTIMIZATION--prefix="$DIR/bin" \
|
./configure $OPTIMIZATION--prefix="$DIR/php5" \
|
||||||
--exec-prefix="$DIR/bin" \
|
--exec-prefix="$DIR/php5" \
|
||||||
--with-curl="$HAVE_CURL" \
|
--with-curl="$HAVE_CURL" \
|
||||||
--with-zlib="$DIR/install_data/php/ext/zlib" \
|
--with-zlib="$DIR/install_data/php/ext/zlib" \
|
||||||
--with-zlib-dir="$DIR/install_data/php/ext/zlib" \
|
--with-zlib-dir="$DIR/install_data/php/ext/zlib" \
|
||||||
@ -279,6 +280,10 @@ echo " done!"
|
|||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
echo -n "[INFO] Cleaning up..."
|
echo -n "[INFO] Cleaning up..."
|
||||||
rm -r -f install_data/ >> "$DIR/install.log" 2>&1
|
rm -r -f install_data/ >> "$DIR/install.log" 2>&1
|
||||||
|
mv php5/bin/php bin/php
|
||||||
|
mv php5/bin/phpize bin/phpize
|
||||||
|
mv php5/bin/php-config bin/php-config
|
||||||
|
rm -r -f php5/ >> "$DIR/install.log" 2>&1
|
||||||
date >> "$DIR/install.log" 2>&1
|
date >> "$DIR/install.log" 2>&1
|
||||||
echo " done!"
|
echo " done!"
|
||||||
echo "[PocketMine] You should start the server now using \"./start.sh.\""
|
echo "[PocketMine] You should start the server now using \"./start.sh.\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user