mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
mac: mitigate "device busy" chances when ejecting DMG
This commit is contained in:
parent
4fbdf0d680
commit
4e55570934
1 changed files with 3 additions and 0 deletions
|
|
@ -1088,6 +1088,7 @@ fi
|
||||||
|
|
||||||
osascript << EOF
|
osascript << EOF
|
||||||
tell application "Finder"
|
tell application "Finder"
|
||||||
|
close every window
|
||||||
activate
|
activate
|
||||||
tell disk "${DISKNAME}"
|
tell disk "${DISKNAME}"
|
||||||
open
|
open
|
||||||
|
|
@ -1126,6 +1127,8 @@ EOF
|
||||||
|
|
||||||
chmod -Rf go-w "${MNTPATH}"
|
chmod -Rf go-w "${MNTPATH}"
|
||||||
sync
|
sync
|
||||||
|
sleep 1
|
||||||
|
sync
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
echo "compressing Image ..."
|
echo "compressing Image ..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue