Modified: freeswitch/trunk/scripts/tagscript.sh (17205 => 17206)
--- freeswitch/trunk/scripts/tagscript.sh 2010-04-02 15:52:23 UTC (rev 17205)
+++ freeswitch/trunk/scripts/tagscript.sh 2010-04-02 16:15:04 UTC (rev 17206)
@@ -62,10 +62,11 @@
rm -f docs/ChangeLog
rm -rf .git
cd ..
-tar -czvf $dst_name.tar.gz $dst_dir
-tar -cjvf $dst_name.tar.bz2 $dst_dir
-tar -cJvf $dst_name.tar.xz $dst_dir || echo tar does not support -J
-rm -rf $dst_dir
+tar -cvf $dst_name.tar $dst_dir
+gzip -9 -c $dst_name.tar > $dst_name.tar.gz || echo "gzip not available"
+bzip2 -z -k $dst_name.tar || echo "bzip2 not available"
+xz -z -9 -k $dst_name.tar || echo "xz / xz-utils not available"
+rm -rf $dst_name.tar $dst_dir
cat 1>&2 <<EOF
----------------------------------------------------------------------