commit ed2b583243848dc8241ee8a8d6fd4706ba57a61c Author: Mike Perry mikeperry-git@torproject.org Date: Tue Jun 18 13:29:51 2013 -0700
Fix permissions differences in omni.ja files. --- gitian/TODO | 2 -- gitian/build-helpers/re-dzip.sh | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gitian/TODO b/gitian/TODO index 84223f8..71f7db9 100644 --- a/gitian/TODO +++ b/gitian/TODO @@ -7,8 +7,6 @@ Short Term: - Only two lines are ever reordered: override chrome://global/content/nsTransferable.js chrome://global/content/nsDragAndDrop.js skin mozapps classic/1.0 toolkit/skin/classic/mozapps/ os=WINNT osversion<6 - - webapprt/omni.ja (also a zip file) sometimes doesn't match - - Permissions differences inside the zip file - Hardening options - Validation Tools: - http://www.microsoft.com/en-us/download/details.aspx?id=11910. diff --git a/gitian/build-helpers/re-dzip.sh b/gitian/build-helpers/re-dzip.sh index 1bd55dc..0367844 100755 --- a/gitian/build-helpers/re-dzip.sh +++ b/gitian/build-helpers/re-dzip.sh @@ -6,6 +6,8 @@ ZIPFILE=`basename $1` mkdir tmp_dzip cd tmp_dzip unzip ../$1 +find . -type f -exec chmod 644 {} ; +find . -type d -exec chmod 755 {} ; find . | sort | zip $ZIPOPTS -X -@ $ZIPFILE mv $ZIPFILE ../$1 cd ..
tor-commits@lists.torproject.org