Linux distro should use bzip2.
Review by: knorton (desk check)
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2127 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/common.ant.xml b/common.ant.xml
index 8575f4d..9fde76c 100755
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -186,10 +186,11 @@
<macrodef name="gwt.tgz.cat">
<attribute name="destfile" />
+ <attribute name="compression" default="gzip" />
<element name="tar.elements" implicit="true" optional="true" />
<sequential>
<taskdef name="tar.cat" classname="com.google.gwt.ant.taskdefs.TarCat" classpath="${gwt.build.lib}/ant-gwt.jar" />
- <tar.cat destfile="@{destfile}" compression="gzip" longfile="gnu">
+ <tar.cat destfile="@{destfile}" compression="@{compression}" longfile="gnu">
<tar.elements />
</tar.cat>
</sequential>