fix build
This commit is contained in:
parent
ef1a14bc76
commit
ad5f6a584e
1 changed files with 10 additions and 4 deletions
14
build.sh
14
build.sh
|
@ -1,6 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
name="Open Media Library"
|
||||||
|
tmp="${name}.tmp.dmg"
|
||||||
|
dmg="${name}.dmg"
|
||||||
|
|
||||||
tmpdir=`mktemp -d -t oml`
|
tmpdir=`mktemp -d -t oml`
|
||||||
cp -r "Open Media Library.app" $tmpdir/
|
cp -r "${name}.app" $tmpdir/
|
||||||
hdiutil create -srcfolder "$tmpdir" -volname "Open Media Library" -format UDZO "Open Media Library.tmp.dmg"
|
rm -rf "$dmg" "$tmp"
|
||||||
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "Open Media Library.dmg" "Open Media Library.tmp.dmg"
|
hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp"
|
||||||
rm -rf $tmpdir "Open Media Library.tmp.dmg"
|
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "$dmg" "$tmp"
|
||||||
|
rm -rf $tmpdir "$tmp"
|
||||||
|
|
Loading…
Reference in a new issue