X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=macos%2Fbuild-dmg.sh;h=13e7675fbd14aeab4b03fd2bef3496a609b0c8db;hp=fffa0ea3b3ab42c690976bca3f7db1d57454fddd;hb=a495ee2a01b0fd02f85993a07aa759d84fb3f678;hpb=7c1f5fa819cf8b64827e15a670c2a658e2f2c4d0 diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index fffa0ea..13e7675 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -1,7 +1,8 @@ #!/bin/sh # PURPOSE -# package a combination of sfa+sface into a snow leopard dmg install disk +# package a combination of sfa+sface into a dmg install disk +# supports leopard and snow leopard # # REQUIREMENTS # sface-skel-snow-leopard.dmg is the skeleton that has Qt and all the other third-party software @@ -146,6 +147,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 +192,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"