git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unount skeleton as soon as not needed anymore
[sface.git]
/
macos
/
build-dmg.sh
diff --git
a/macos/build-dmg.sh
b/macos/build-dmg.sh
index
fffa0ea
..
87fb1c7
100755
(executable)
--- 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
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
#
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
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"
echo "=================================================="
echo "Install image ready in $img_dmg"