mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-15 16:05:28 +00:00
Remove compile script DEBUG trap on php.ini generation
This commit is contained in:
parent
e8477fec53
commit
9cae532d7e
@ -18,7 +18,7 @@ BCOMPILER_VERSION="1.0.2"
|
|||||||
echo "[PocketMine] PHP compiler for Linux, MacOS and Android"
|
echo "[PocketMine] PHP compiler for Linux, MacOS and Android"
|
||||||
DIR="$(pwd)"
|
DIR="$(pwd)"
|
||||||
date > "$DIR/install.log" 2>&1
|
date > "$DIR/install.log" 2>&1
|
||||||
trap "echo \"# \$(eval echo \$BASH_COMMAND)\" >> \"$DIR/install.log\" 2>&1" DEBUG
|
trap "echo \"# \$(eval echo \$BASH_COMMAND)\" >> \"$DIR/install.log\" 2>&1" DEBUG
|
||||||
uname -a >> "$DIR/install.log" 2>&1
|
uname -a >> "$DIR/install.log" 2>&1
|
||||||
echo "[INFO] Checking dependecies"
|
echo "[INFO] Checking dependecies"
|
||||||
type make >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"make\""; read -p "Press [Enter] to continue..."; exit 1; }
|
type make >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"make\""; read -p "Press [Enter] to continue..."; exit 1; }
|
||||||
@ -693,7 +693,7 @@ if [ "$(uname -s)" == "Darwin" ] && [ "$IS_CROSSCOMPILE" != "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n " generating php.ini..."
|
echo -n " generating php.ini..."
|
||||||
|
trap - DEBUG
|
||||||
TIMEZONE=$(date +%Z)
|
TIMEZONE=$(date +%Z)
|
||||||
echo "date.timezone=$TIMEZONE" > "$DIR/bin/php5/bin/php.ini"
|
echo "date.timezone=$TIMEZONE" > "$DIR/bin/php5/bin/php.ini"
|
||||||
echo "short_open_tag=0" >> "$DIR/bin/php5/bin/php.ini"
|
echo "short_open_tag=0" >> "$DIR/bin/php5/bin/php.ini"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user