aboutsummaryrefslogtreecommitdiffstats
path: root/roms/QemuMacDrivers/cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roms/QemuMacDrivers/cleanup.sh')
-rwxr-xr-xroms/QemuMacDrivers/cleanup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/roms/QemuMacDrivers/cleanup.sh b/roms/QemuMacDrivers/cleanup.sh
new file mode 100755
index 000000000..490025241
--- /dev/null
+++ b/roms/QemuMacDrivers/cleanup.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# Cleanup cruft left by MacOS
+
+find . -name "@eaDir" -print0 | xargs -0 rm -rf
+find . -type d -print0 | xargs -0 chmod o-w
+find . -type f -print0 | xargs -0 chmod a-x
+chmod +x cleanup.sh