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.
This commit is contained in:
parent
fd65666eb2
commit
7634ce2d4e
1 changed files with 1 additions and 1 deletions
|
@ -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 ----"
|
||||
|
|
Loading…
Reference in a new issue