osx packaging: clean up temp dirs
authorRobin Gareus <robin@gareus.org>
Fri, 14 Jun 2013 16:15:05 +0000 (18:15 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 14 Jun 2013 16:15:05 +0000 (18:15 +0200)
OSX's .DS_Store file keeps rmdir from working.

tools/osx_packaging/osx_build

index 4880107806a483b9eaa626e59db40bff6cbe9455..96ed165832e272c324daa3a8fee8696420bab0f6 100755 (executable)
@@ -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 ..."