Permalink
Browse files

[misc] Improve update copyright year script

[ci skip]
  • Loading branch information...
afh committed Jan 27, 2018
1 parent b3b72cb commit 6d3833a4d4c9bf157acea2eb30114c4a06f08b62
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/update_copyright_year.sh
@@ -30,7 +30,7 @@ YEAR=${1:-$(date +%Y)}
# is not generally installed
GREP=${2:-egrep}
${GREP} -Rl 'Copyright.*Wiegley' . \
${GREP} -Rl 'Copyright.*Wiegley' $(git ls-files | cut -d / -f1 | uniq) \
| ${GREP} -v "(test/garbage-input.dat|$(basename $0))" \
| xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${YEAR}/"

0 comments on commit 6d3833a

Please sign in to comment.