summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-05-12 14:54:16 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-05-12 14:54:16 +0000
commit09e4b325a11ebafa938c2ccc74f4ba704eed8368 (patch)
tree0c49e3f94c53796a546d4ebc7730d32fae275fc9 /makedist
parentf3de1a5273f9c994a335ab25a4163fb369f03488 (diff)
downloadphp-git-09e4b325a11ebafa938c2ccc74f4ba704eed8368.tar.gz
Download pear phar file when making a distribution package
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist9
1 files changed, 9 insertions, 0 deletions
diff --git a/makedist b/makedist
index 77634b2527..9f76c74a8c 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