From: Thierry Parmentelat Date: Wed, 16 Mar 2011 11:01:28 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.onelab.eu/git/sface X-Git-Tag: sface-0.1-10~17 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=6f9b49913c3c0045de18a4896a685c4eb65e1522;hp=f91d1f865b8990ae888c5e485d8152191ca768a4 Merge branch 'master' of ssh://git.onelab.eu/git/sface --- diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index fffa0ea..87fb1c7 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -146,6 +146,9 @@ Also make sure to trash the current one before retrying" if [ "$skelapp" != "$app" ] ; then mv "$img_mnt/$skelapp" "$img_mnt/$app" fi + # unmount the skeleton + hdiutil unmount "$skel_mnt" + # resource_path=$app/Contents/Resources bin_path=$app/Contents/MacOS @@ -188,8 +191,6 @@ Also make sure to trash the current one before retrying" hdiutil convert -quiet -format UDZO -imagekey zlib-level=9 -o $img_dmg $img_raw_dmg # clean up the raw image rm -f $img_raw_dmg - # unmount the skeleton - hdiutil unmount "$skel_mnt" echo "==================================================" echo "Install image ready in $img_dmg"