1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-20 12:52:30 +02:00

* Fixed OS X build scripts.

This commit is contained in:
Christian Muehlhaeuser
2011-03-21 09:02:59 +01:00
parent 53ccfcfed3
commit 6d482cf239
4 changed files with 18 additions and 9 deletions

View File

@@ -43,11 +43,17 @@ ln -s /Applications "$TMP/Applications"
cp -R "$IN" "$TMP"
# create
hdiutil create -srcfolder "$TMP" \
-format UDZO -imagekey zlib-level=9 \
-scrub \
"$OUT" \
|| die "Error creating DMG :("
hdiutil makehybrid -hfs -hfs-volume-name Tomahawk -hfs-openfolder "$TMP" "$TMP" -o tmp.dmg
hdiutil convert -format UDZO -imagekey zlib-level=9 tmp.dmg -o "$OUT"
# cleanup
rm tmp.dmg
#hdiutil create -srcfolder "$TMP" \
# -format UDZO -imagekey zlib-level=9 \
# -scrub \
# "$OUT" \
# || die "Error creating DMG :("
# done !
echo 'DMG size:' `du -hs "$OUT" | awk '{print $1}'`