1#!/bin/sh
2
3# Run the `update-copyright-year' script on all files in the git repository,
4# taking care of exceptions stored in file `no-copyright'.
5
6topdir=`git rev-parse --show-toplevel`
7toolsdir=$topdir/src/tools
8
9git ls-files --full-name $topdir        \
10| sed 's|^|../../|'                     \
11| grep -vFf $toolsdir/no-copyright      \
12| xargs $toolsdir/update-copyright-year
13
14# EOF
15