diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 4880107806..96ed165832 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -611,7 +611,7 @@ hdiutil eject "${DiskDevice}" hdiutil convert -format UDZO "${TMPDMG}" -imagekey zlib-level=9 -o "${UC_DMG}" # Delete the temporary files rm "$TMPDMG" -rmdir "$MNTPATH" +rm -rf "$MNTPATH" echo "setting file icon ..."