diff options
author | Rodrigo Moya <rodrigo.moya@xamarin.com> | 2019-06-06 13:15:21 +0300 |
---|---|---|
committer | Rodrigo Moya <rodrigo.moya@xamarin.com> | 2019-06-06 13:15:21 +0300 |
commit | 66e31f7659e0a10d181f2015a81b062255c48cd8 (patch) | |
tree | a13b92aec2fe2c3d1031822c150d8fd37de72a44 | |
parent | 8a319dec37f6a8d880d49fa7a665bfb435623652 (diff) |
[Mac] Force unmount if it's still failing after 5 tries
-rwxr-xr-x | main/build/MacOSX/make-dmg-bundle.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/build/MacOSX/make-dmg-bundle.sh b/main/build/MacOSX/make-dmg-bundle.sh index 1b90426365..eac33e3cec 100755 --- a/main/build/MacOSX/make-dmg-bundle.sh +++ b/main/build/MacOSX/make-dmg-bundle.sh @@ -79,6 +79,7 @@ for n in `seq 1 5` do hdiutil detach "$MOUNT_POINT" && break if [ $n = 5 ]; then + hdiutil detach -force "$MOUNT_POINT" exit $? fi done |