aboutsummaryrefslogtreecommitdiffstats
path: root/roms/QemuMacDrivers/cleanup.sh
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/QemuMacDrivers/cleanup.sh
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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