Skip to content

Commit

Permalink
Fixed bug #70917 install-pear-nozlib.phar missing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weltling committed Nov 15, 2015
1 parent c856b6e commit 7819fef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7819fef

Please sign in to comment.