Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo.moya@xamarin.com>2019-06-06 13:15:21 +0300
committerRodrigo Moya <rodrigo.moya@xamarin.com>2019-06-06 13:15:21 +0300
commit66e31f7659e0a10d181f2015a81b062255c48cd8 (patch)
treea13b92aec2fe2c3d1031822c150d8fd37de72a44 /main/build
parent8a319dec37f6a8d880d49fa7a665bfb435623652 (diff)
[Mac] Force unmount if it's still failing after 5 tries
Diffstat (limited to 'main/build')
-rwxr-xr-xmain/build/MacOSX/make-dmg-bundle.sh1
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