mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Update multi-version-build.sh
This commit is contained in:
parent
7cb7facec3
commit
18c74cdadb
@ -6,7 +6,7 @@ _build_dir="$_main_dir/build"
|
|||||||
|
|
||||||
mkdir "$_build_dir" > /dev/null 2>&1
|
mkdir "$_build_dir" > /dev/null 2>&1
|
||||||
|
|
||||||
for loop in "7.3.28" "7.4.18" "8.0.5"
|
for loop in "7.2.34" "7.3.28" "7.4.18" "8.0.5"
|
||||||
do
|
do
|
||||||
sed -i 's/phpver"|"php") echo ".*/phpver"|"php") echo "'$loop'" ;;/g' "$_main_dir""static-compile-php.sh" && \
|
sed -i 's/phpver"|"php") echo ".*/phpver"|"php") echo "'$loop'" ;;/g' "$_main_dir""static-compile-php.sh" && \
|
||||||
rm -rf "$_main_dir""source/php.tar.gz" "$_main_dir""source/php-*" "$_main_dir""php-dist" && \
|
rm -rf "$_main_dir""source/php.tar.gz" "$_main_dir""source/php-*" "$_main_dir""php-dist" && \
|
||||||
@ -20,4 +20,4 @@ do
|
|||||||
echo "Compile static php-$loop failed!"
|
echo "Compile static php-$loop failed!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user