From 7634ce2d4e8b3f3d3f9e79f19cfddba7f8724b3f Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 13 Aug 2009 19:35:42 +0000 Subject: [PATCH] Add -force to 'hdiutil detach'.. this should stop the "Resource Busy" errors we keep on getting. I should have un-lazy'd myself a long time ago, though if I knew the fix this was this simple I would have.. guess I'm too used to every fix on OS X being long and convoluted. (argh) Originally committed to SVN as r3401. --- aegisub/tools/osx-dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/tools/osx-dmg.sh b/aegisub/tools/osx-dmg.sh index 25d94c997..da596ddbb 100755 --- a/aegisub/tools/osx-dmg.sh +++ b/aegisub/tools/osx-dmg.sh @@ -64,7 +64,7 @@ echo "--- Generating /Volumes/${PKG_NAME_VOLUME}/.DS_Store ----" echo echo "---- Detaching ----" -/usr/bin/hdiutil detach "${DEV_NAME}" || exit $? +/usr/bin/hdiutil detach "${DEV_NAME}" -force || exit $? echo echo "---- Compressing ----"