+bin/openjdk-find-ccache-bug
authorJan Kratochvil <jan@jankratochvil.net>
Fri, 20 Oct 2023 23:55:24 +0000 (07:55 +0800)
committerJan Kratochvil <jan@jankratochvil.net>
Fri, 20 Oct 2023 23:55:24 +0000 (07:55 +0800)
bin/openjdk-find-ccache-bug [new file with mode: 0755]

diff --git a/bin/openjdk-find-ccache-bug b/bin/openjdk-find-ccache-bug
new file mode 100755 (executable)
index 0000000..2c62ff3
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/bash
+# 0 * * * * ~/bin/openjdk-find-ccache-bug
+for i in $(find ~ 2>/dev/null -name config.status);do
+  if grep -qw REWRITE_PATHS_RELATIVE $(echo $i|sed 's#/build/[^/]*/configure-support/config.status$##')/make/common/NativeCompilation.gmk 2>/dev/null;then
+    continue
+  fi
+  grep CCACHE_BASEDIR= $i /dev/null
+done