projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
13abd32
)
2411: Add copyright after <?xml declaration in svg files.
author
Tom Clegg <tom@curoverse.com>
Wed, 28 Jun 2017 15:31:32 +0000
(11:31 -0400)
committer
Tom Clegg <tom@curoverse.com>
Wed, 28 Jun 2017 15:37:15 +0000
(11:37 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>
build/check-copyright-notices
patch
|
blob
|
history
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
}