fix build

This commit is contained in:
j 2014-08-12 14:05:12 +02:00
parent ef1a14bc76
commit ad5f6a584e

View file

@ -1,6 +1,12 @@
#!/bin/sh
name="Open Media Library"
tmp="${name}.tmp.dmg"
dmg="${name}.dmg"
tmpdir=`mktemp -d -t oml`
cp -r "Open Media Library.app" $tmpdir/
hdiutil create -srcfolder "$tmpdir" -volname "Open Media Library" -format UDZO "Open Media Library.tmp.dmg"
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "Open Media Library.dmg" "Open Media Library.tmp.dmg"
rm -rf $tmpdir "Open Media Library.tmp.dmg"
cp -r "${name}.app" $tmpdir/
rm -rf "$dmg" "$tmp"
hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp"
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "$dmg" "$tmp"
rm -rf $tmpdir "$tmp"