Commit ce6f2b58 by Christophe Geuzaine

should use hdiutil eject (instead of unmount)!

parent fa1cc0f1
......@@ -197,7 +197,7 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then
mv /tmp/getdp-*${GETDP}-MacOSX/share/doc/getdp/templates onelab-MacOSX
cp -R gmsh_mount/tutorial onelab-MacOSX
cp -R /tmp/models onelab-MacOSX
umount gmsh_mount
hdiutil eject gmsh_mount
rm -rf /tmp/gmsh-*
rm -rf /tmp/getdp-*
# cannot use zip file: it destroys the signature for onelab.py
......
......@@ -19,7 +19,7 @@ if [ $ext == "dmg" ]; then
mkdir ${base}
cp -R /tmp/tmp_mount/* ${base}/
codesign -v --force --deep --sign "Developer ID Application: Christophe Geuzaine" ${base}/Gmsh.app
umount /tmp/tmp_mount
hdiutil eject /tmp/tmp_mount
rm -rf ${file} /tmp/tmp.cdr
hdiutil create -srcfolder ${base} ${file}
codesign -v --sign "Developer ID Application: Christophe Geuzaine" ${file}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment