From aa19f65f56d9df722bb49d2b91ee9c18527ad7c4 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 12 May 2006 14:54:10 +0000 Subject: [PATCH] Download pear phar file when making a distribution package --- makedist | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/makedist b/makedist index 77634b2527ffb..9f76c74a8c56c 100755 --- a/makedist +++ b/makedist @@ -122,6 +122,15 @@ for i in $LT_TARGETS; do test -f "$i" && mv $i.bak $i done +# download pear +$ECHO_N "makedist: Attempting to download PEAR's phar archive" +if test ! -x wget; then + wget http://pear.php.net/install-pear-nozlib.phar -nd -P pear/ +else + $ECHO_N "Missing wget binary needed for pear download"; + exit 0; +fi + cd $MY_OLDPWD $ECHO_N "makedist: making gzipped tar archive...$ECHO_C" rm -f $ARCHIVE.gz