[tor-commits] [tor-browser-bundle/master] Make the tarball deterministic.

mikeperry at torproject.org mikeperry at torproject.org
Sat Jun 29 03:58:15 UTC 2013


commit c23a016e81a180da5224b547d057f7325fd801b8
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Fri Jun 28 20:41:14 2013 -0700

    Make the tarball deterministic.
---
 gitian/descriptors/linux/gitian-bundle.yml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitian/descriptors/linux/gitian-bundle.yml b/gitian/descriptors/linux/gitian-bundle.yml
index b733766..f570a5d 100644
--- a/gitian/descriptors/linux/gitian-bundle.yml
+++ b/gitian/descriptors/linux/gitian-bundle.yml
@@ -114,7 +114,7 @@ script: |
   cd ../../../
   #7z a -sfx tor-browser.exe tor-browser_en-US
   #mv tor-browser.exe $OUTDIR/tor-browser-linux${GBUILD_BITS}_en-US.7z-selfextract
-  tar -Jcvf $OUTDIR/tor-browser-linux${GBUILD_BITS}-${TORBROWSER_VERSION}_en-US.tar.xz tor-browser_en-US
+  tar --no-recursion -Jcvf $OUTDIR/tor-browser-linux${GBUILD_BITS}-${TORBROWSER_VERSION}_en-US.tar.xz `find tor-browser_en-US | sort`
   rm -rf tor-browser_en-US
   #
   unzip linux-langpacks.zip
@@ -135,7 +135,7 @@ script: |
 
     #7z a -sfx tor-browser.exe tor-browser_$LANG
     #mv tor-browser.exe $OUTDIR/tor-browser-linux${GBUILD_BITS}_$LANG.7z-selfextract
-    tar -Jcvf $OUTDIR/tor-browser-linux${GBUILD_BITS}-${TORBROWSER_VERSION}_$LANG.tar.xz tor-browser_$LANG
+    tar --no-recursion -Jcvf $OUTDIR/tor-browser-linux${GBUILD_BITS}-${TORBROWSER_VERSION}_$LANG.tar.xz `find tor-browser_$LANG | sort`
 
     rm -rf tor-browser_$LANG
     cd linux-langpacks





More information about the tor-commits mailing list