projects
/
platform
/
upstream
/
libabigail.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dwarf-reader: refactor try_reading_first_ksymtab_entry_using{pre,}_v4_19_format
[platform/upstream/libabigail.git]
/
update-copyright.sh
1
#!/bin/sh
2
3
oldyear=2018
4
newyear=2019
5
6
for dir in src include tools tests; do
7
for ext in cc h; do
8
find $dir -maxdepth 1 -name *.$ext \
9
-exec sed -i -r \
10
"s/(Copyright \(C\) .*?-)$oldyear Red Hat, Inc/\1$newyear Red Hat, Inc/" \
11
{} \; \
12
-exec sed -i -r \
13
"s/(Copyright \(C\)) ($oldyear) (Red Hat, Inc)/\1 $oldyear-$newyear \3/" \
14
{} \;
15
done
16
done