Permalink
Browse files

Build .xz archive during makedist

  • Loading branch information...
1 parent f4512d0 commit 217020788a96781d062cf338e515b584eeb5b3a5 @dsp dsp committed Nov 12, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 makedist
View
@@ -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

0 comments on commit 2170207

Please sign in to comment.