summaryrefslogtreecommitdiff
path: root/libjava/classpath/scripts/sanitize-jsr166
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/scripts/sanitize-jsr166')
-rwxr-xr-xlibjava/classpath/scripts/sanitize-jsr1666
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/classpath/scripts/sanitize-jsr166 b/libjava/classpath/scripts/sanitize-jsr166
new file mode 100755
index 00000000000..d4ca8585b8b
--- /dev/null
+++ b/libjava/classpath/scripts/sanitize-jsr166
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# Sanitize a jsr166 download.
+
+# Remove code copyright Sun.
+find . -name '*.java' -print | xargs grep -l 'Copyright.*Sun' | xargs rm