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

[or-cvs] r17360: {tor} Backport candidate. Force UDZO compression to level 9. (tor/trunk/contrib/osx)



Author: phobos
Date: 2008-11-22 00:42:35 -0500 (Sat, 22 Nov 2008)
New Revision: 17360

Modified:
   tor/trunk/contrib/osx/package.sh
Log:
Backport candidate.  Force UDZO compression to level 9.


Modified: tor/trunk/contrib/osx/package.sh
===================================================================
--- tor/trunk/contrib/osx/package.sh	2008-11-22 05:14:12 UTC (rev 17359)
+++ tor/trunk/contrib/osx/package.sh	2008-11-22 05:42:35 UTC (rev 17360)
@@ -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