Download pear phar file when making a distribution package

This commit is contained in:
Ilia Alshanetsky 2006-05-12 14:54:10 +00:00
parent 07d0f0cf01
commit aa19f65f56

View File

@ -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