2015-01-17 20:38:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Run the `update-copyright-year' script on all files in the git repository,
|
|
|
|
# taking care of exceptions stored in file `no-copyright'.
|
|
|
|
|
|
|
|
topdir=`git rev-parse --show-toplevel`
|
2023-01-17 18:48:54 +01:00
|
|
|
toolsdir=`dirname $0`
|
2015-01-17 20:38:31 +01:00
|
|
|
|
2015-03-11 06:51:27 +01:00
|
|
|
git ls-files --full-name $topdir \
|
2023-01-17 18:48:54 +01:00
|
|
|
| sed "s|^|$topdir/|" \
|
2015-01-17 20:38:31 +01:00
|
|
|
| grep -vFf $toolsdir/no-copyright \
|
|
|
|
| xargs $toolsdir/update-copyright-year
|
|
|
|
|
|
|
|
# EOF
|