[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17361: {tor} Backport r17360: Force UDZO compression to level 9. (tor/branches/tor-0_2_0-patches/contrib/osx)



Author: phobos
Date: 2008-11-22 00:43:57 -0500 (Sat, 22 Nov 2008)
New Revision: 17361

Modified:
   tor/branches/tor-0_2_0-patches/contrib/osx/package.sh
Log:
Backport r17360:  Force UDZO compression to level 9.


Modified: tor/branches/tor-0_2_0-patches/contrib/osx/package.sh
===================================================================
--- tor/branches/tor-0_2_0-patches/contrib/osx/package.sh	2008-11-22 05:42:35 UTC (rev 17360)
+++ tor/branches/tor-0_2_0-patches/contrib/osx/package.sh	2008-11-22 05:43:57 UTC (rev 17361)
@@ -157,7 +157,7 @@
 mv $BUILD_DIR/output "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle"
 rm -f "Tor-$VERSION-$ARCH-Bundle.dmg"
 USER="`whoami`"
-sudo hdiutil create -format UDZO -srcfolder "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle" "Tor-$VERSION-$ARCH-Bundle.dmg"
+sudo hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle" "Tor-$VERSION-$ARCH-Bundle.dmg"
 sudo chown "$USER" "Tor-$VERSION-$ARCH-Bundle.dmg"
 
 sudo rm -rf $BUILD_DIR