summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-05-12 14:54:10 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2006-05-12 14:54:10 (GMT)
commitaa19f65f56d9df722bb49d2b91ee9c18527ad7c4 (patch)
treea4dbcd5c1cd83806dc1f94d2c7721364403622b3 /makedist
parent07d0f0cf015d98f5dd528099f87277851096023f (diff)
downloadphp-aa19f65f56d9df722bb49d2b91ee9c18527ad7c4.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 77634b2..9f76c74 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