mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Download pear phar file when making a distribution package
This commit is contained in:
parent
07d0f0cf01
commit
aa19f65f56
9
makedist
9
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
|
||||
|
Loading…
Reference in New Issue
Block a user