11917: Do not clear rails cache at boot time.
[arvados.git] / build / check-copyright-notices
index f4e95979c0b01dc49a8f19271175b0aa703e163a..cf4e9bf181b71e3dbd933eb76c4423fe0815f7c8 100755 (executable)
@@ -43,7 +43,7 @@ done
 fixer() {
     want="${want}" perl -pi~ - "${1}" <<'EOF'
 BEGIN { undef $/ }
-s{^((\#\!.*?\n|\n*---\n.*?\n\.\.\.\n)\n?)?}{${2}$ENV{want}\n\n}ms
+s{^((\#\!.*?\n|\n*---\n.*?\n\.\.\.\n|<\?xml.*?>\n)\n?)?}{${2}$ENV{want}\n\n}ms
 EOF
 }
 
@@ -93,7 +93,7 @@ git ls-files -z ${@} | \
                 | *.sh | *.service \
                 | */run | */run-service | */restart-dns-server \
                 | */nodemanager/doc/*.cfg \
-                | */nodemanager/tests/fake.cfg.template \
+                | */nodemanager/tests/fake*.cfg.template \
                 | */nginx.conf \
                 | build/build.list)
                 fixer=fixer
@@ -133,7 +133,13 @@ git ls-files -z ${@} | \
                 cc=""
                 ce=" */"
                 ;;
-            *.go | *.scss | *.java | *.js | *.coffee)
+            *.coffee)
+                fixer=fixer
+                cs="### "
+                cc=""
+                ce=" ###"
+                ;;
+            *.go | *.scss | *.java | *.js)
                 fixer=fixer
                 cc="//"
                 ;;