diff --git a/src/build/compile.sh b/src/build/compile.sh index eaf0a4614..1ddc754c3 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -109,7 +109,6 @@ fi 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 mkdir -m 0777 install_data >> "$DIR/install.log" 2>&1 mkdir -m 0777 php5 >> "$DIR/install.log" 2>&1 @@ -234,8 +233,8 @@ if [ "$1" == "crosscompile" ]; then CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no" fi -./configure $OPTIMIZATION--prefix="$DIR/php5" \ ---exec-prefix="$DIR/php5" \ +./configure $OPTIMIZATION--prefix="$DIR/bin" \ +--exec-prefix="$DIR/bin" \ --with-curl="$HAVE_CURL" \ --with-zlib="$DIR/install_data/php/ext/zlib" \ --with-zlib-dir="$DIR/install_data/php/ext/zlib" \ @@ -280,8 +279,6 @@ echo " done!" cd "$DIR" echo -n "[INFO] Cleaning up..." rm -r -f install_data/ >> "$DIR/install.log" 2>&1 -mv php5/bin/php bin/php -rm -r -f php5/ >> "$DIR/install.log" 2>&1 date >> "$DIR/install.log" 2>&1 echo " done!" echo "[PocketMine] You should start the server now using \"./start.sh.\""