mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #70917 install-pear-nozlib.phar missing
The actual bug is caused by some network error while packaged. An error check added to interrupt the packaging process if phar package download failed.
This commit is contained in:
parent
c856b6e0ff
commit
7819fef345
1 changed files with 5 additions and 0 deletions
5
makedist
5
makedist
|
@ -119,6 +119,11 @@ sed -i 's,^#ifndef YYTOKENTYPE,#include "zend.h"\n#ifndef YYTOKENTYPE,g' $MY_OLD
|
|||
$ECHO_N "makedist: Attempting to download PEAR's phar archive"
|
||||
if test ! -x wget; then
|
||||
wget https://pear.php.net/install-pear-nozlib.phar -nd -P pear/
|
||||
if [ "x$?" != "x0" ]
|
||||
then
|
||||
$ECHO_N "Pear download failed";
|
||||
exit 7
|
||||
fi
|
||||
else
|
||||
$ECHO_N "Missing wget binary needed for pear download";
|
||||
exit 7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue