X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=macos%2Fbuild-dmg.sh;fp=macos%2Fbuild-dmg.sh;h=87fb1c755ddb7d8448c7ec935e3e09df3dab6023;hp=fffa0ea3b3ab42c690976bca3f7db1d57454fddd;hb=8a673bd7946c84ce42fac3491eb29cb3dbc6ecc9;hpb=936ef36d61a7be0937c213249517111fdd5b8a54 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"