Skip to content

Commit

Permalink
Download pear phar file when making a distribution package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed May 12, 2006
1 parent 07d0f0c commit aa19f65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa19f65

Please sign in to comment.