From 27742dc6e8dabf36bee2bbdbc9e2a9be3065db22 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 15 Nov 2015 18:57:10 +0100 Subject: [PATCH] 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. --- makedist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makedist b/makedist index 5b28dd88d42..48c6312e78b 100755 --- a/makedist +++ b/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