summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-10 01:41:52 +0100
committerRobin Gareus <robin@gareus.org>2015-03-10 01:41:52 +0100
commit8de9ee32a288d46ba958b60f18c158ebbe2252ff (patch)
treecc40eae68d95210040dd162bbf0acf6aba9b4dd7 /tools/osx_packaging
parentdb8406dc4ab2837ead019fd6ade88091adb9a418 (diff)
tweak OS X packaging for 10.9
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 81360f9350..2cf109d992 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -739,9 +739,9 @@ sync
set -e
echo "compressing Image ..."
-# Umount the image
-umount "${DiskDevice}"
-hdiutil eject "${DiskDevice}"
+# Umount the image ('eject' above may already have done that)
+umount "${DiskDevice}" || true
+hdiutil eject "${DiskDevice}" || true
# Create a read-only version, use zlib compression
hdiutil convert -format UDZO "${TMPDMG}" -imagekey zlib-level=9 -o "${UC_DMG}"