mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Download pear phar file when making a distribution package
This commit is contained in:
parent
07d0f0cf01
commit
aa19f65f56
1 changed files with 9 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue