summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2012-11-12 17:47:15 +0100
committerDavid Soria Parra <dsp@php.net>2012-11-13 17:09:29 +0100
commit217020788a96781d062cf338e515b584eeb5b3a5 (patch)
tree733ba7190d0c76f68a8600a8d95b03f8cc35548d /makedist
parentf4512d01a0020574d367cb3099984fcd0a04e8bb (diff)
downloadphp-git-217020788a96781d062cf338e515b584eeb5b3a5.tar.gz
Build .xz archive during makedist
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist8
1 files changed, 7 insertions, 1 deletions
diff --git a/makedist b/makedist
index bfc8fcc44a..bce40a9488 100755
--- a/makedist
+++ b/makedist
@@ -119,8 +119,14 @@ tar cf $ARCHIVE php-$VER || exit 10
bzip2 -9 $ARCHIVE || exit 11
echo ""
+$ECHO_N "makedist: making xz2zipped tar archive...$ECHO_C"
+rm -f $ARCHIVE.xz
+tar cf $ARCHIVE php-$VER || exit 10
+xz -9 $ARCHIVE || exit 12
+echo ""
+
$ECHO_N "makedist: cleaning up...$ECHO_C"
-rm -rf $DIRPATH || exit 12
+rm -rf $DIRPATH || exit 13
echo ""
exit 0