Update multi-version-build.sh

This commit is contained in:
Whale 2021-05-07 16:57:17 +08:00 committed by GitHub
parent 7cb7facec3
commit 18c74cdadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ _build_dir="$_main_dir/build"
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
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" && \
@ -20,4 +20,4 @@ do
echo "Compile static php-$loop failed!"
exit 1
fi
done
done