Update multi-version-build.sh

This commit is contained in:
Whale 2021-04-28 15:38:43 +08:00 committed by GitHub
parent 028063174c
commit 0d89397cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ do
"$_main_dir""static-compile-php.sh" && \
cp "$_main_dir""php-dist/bin/php" "$_build_dir/" && \
cd "$_build_dir/" && \
tar -zcvf "php-$loop-static-bin.tar.gz" "./php" && \
tar -zcvf "php-$loop-static-bin-"$(uname -m)".tar.gz" "./php" && \
mv "./php" "./php-$loop" && \
cd "$_main_dir"
if [ $? -ne 0 ]; then