Skip to content

Commit

Permalink
Build .xz archive during makedist
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp committed Nov 13, 2012
1 parent f4512d0 commit 2170207
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion makedist
Original file line number Diff line number Diff line change
Expand Up @@ -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.