]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Backport candidate. Force UDZO compression to level 9.
authorAndrew Lewman <andrew@torproject.org>
Sat, 22 Nov 2008 05:42:35 +0000 (05:42 +0000)
committerAndrew Lewman <andrew@torproject.org>
Sat, 22 Nov 2008 05:42:35 +0000 (05:42 +0000)
svn:r17360

contrib/osx/package.sh

index 19615183aa2e0290b30b419835bef7a5b068755b..805e77ec247a50f7681f6d559388ff23a8fa976b 100644 (file)
@@ -157,7 +157,7 @@ find $BUILD_DIR/output -print0 | sudo xargs -0 chown root:wheel
 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