]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Generate tar.bz2
authorOleg Broytman <phd@phdru.name>
Tue, 24 Dec 2013 20:23:22 +0000 (00:23 +0400)
committerOleg Broytman <phd@phdru.name>
Tue, 24 Dec 2013 20:23:22 +0000 (00:23 +0400)
mk-distr

index b4bc4aacf67853e445bfb76b55e588c3f73b354b..ef674edf9173f341f2a4132c1ad63a7b401655a5 100755 (executable)
--- a/mk-distr
+++ b/mk-distr
@@ -6,5 +6,8 @@ if [ -n "$1" ]; then
    git checkout "$1"
 fi &&
 
-exec git archive --format=tar.gz --prefix=audio-cdr-video/ \
-   -o "$HOME"/tmp/audio-cdr-video.tar.gz HEAD
+git archive --format=tar --prefix=audio-cdr-video/ \
+   -o "$HOME"/tmp/audio-cdr-video.tar HEAD &&
+
+cd "$HOME"/tmp &&
+exec bzip2 -9 audio-cdr-video.tar