projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2411: Add copyright after <?xml declaration in svg files.
[arvados.git]
/
build
/
check-copyright-notices
diff --git
a/build/check-copyright-notices
b/build/check-copyright-notices
index 8fa7aad0f191334463dde2193a74f6af30c49ff8..239a0c6ba051294dfc0ec74f8787dd293a6b6b9d 100755
(executable)
--- a/
build/check-copyright-notices
+++ b/
build/check-copyright-notices
@@
-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
}