Try umount -f.
authorCarl Hetherington <cth@carlh.net>
Mon, 29 Jul 2013 21:04:22 +0000 (22:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 29 Jul 2013 21:04:22 +0000 (22:04 +0100)
platform/osx/make_dmg.sh

index 97ec8fdf9d31eb696ca30504c195f3625461b996..a43984dcfc242cf0b1af2b3b2ef966c748483a60 100644 (file)
@@ -129,7 +129,7 @@ echo '
 chmod -Rf go-w $WORK/mnt
 sync
 
-umount $device
+umount -f $device
 hdiutil eject $device
 hdiutil convert -format UDZO $tmp_dmg -imagekey zlib-level=9 -o "$dmg"
 sips -i $WORK/$resources/DCP-o-matic.icns