From 8de9ee32a288d46ba958b60f18c158ebbe2252ff Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 10 Mar 2015 01:41:52 +0100 Subject: [PATCH] tweak OS X packaging for 10.9 --- tools/osx_packaging/osx_build | 6 +++--- 1 file 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}"