5 # DMG size in megabytes
8 dmg_name="dvdomatic-$VERSION"
10 mkdir -p build/platform/osx/mnt
12 hdiutil create -megabytes $DMG_SIZE build/platform/osx/dvdomatic.dmg
13 device=$(hdid -nomount build/platform/osx/dvdomatic.dmg | grep Apple_HFS | cut -f 1 -d ' ')
14 newfs_hfs -v "$dmg_name" "$device"
15 mount -t hfs "${device}" build/platform/osx/mnt