summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2008-11-22 05:43:57 +0000
committerAndrew Lewman <andrew@torproject.org>2008-11-22 05:43:57 +0000
commit3e613b2ed7d6424f1f526b45504adbb3feb4cb68 (patch)
treef288205f17f5ccf947746e867020b3c07a280626 /contrib
parentac4a96555dd38cafe3ec075cfc0b80f2aef324d3 (diff)
downloadtor-3e613b2ed7d6424f1f526b45504adbb3feb4cb68.tar.gz
tor-3e613b2ed7d6424f1f526b45504adbb3feb4cb68.zip
Backport r17360: Force UDZO compression to level 9.
svn:r17361
Diffstat (limited to 'contrib')
-rw-r--r--contrib/osx/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/osx/package.sh b/contrib/osx/package.sh
index 19615183aa..805e77ec24 100644
--- a/contrib/osx/package.sh
+++ b/contrib/osx/package.sh
@@ -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