Author: tille
Date: 2012-07-08 15:29:50 +0000 (Sun, 08 Jul 2012)
New Revision: 11641

Modified:
   trunk/packages/vista/trunk/debian/get-orig-source
Log:
Use xz compression to make original tarball only half the size


Modified: trunk/packages/vista/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/vista/trunk/debian/get-orig-source   2012-07-08 13:50:09 UTC 
(rev 11640)
+++ trunk/packages/vista/trunk/debian/get-orig-source   2012-07-08 15:29:50 UTC 
(rev 11641)
@@ -1,4 +1,7 @@
 #!/bin/bash
+
+ZIPMETHOD=xz
+
 export CMAKE_VISTA_FOIA_DIR=`pwd`/vista/VistA-FOIA
 
 #
@@ -37,6 +40,6 @@
 #
 echo "I: Placing resulting sources in tar file..."
 popd
-tar -czf vista_1.0.orig.tar.gz ./vista
-mv vista_1.0.orig.tar.gz ..
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf 
vista_1.0.orig.tar.${ZIPMETHOD} ./vista
+mv vista_1.0.orig.tar.${ZIPMETHOD} ..
 


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to