diff options
author | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-22 14:41:41 +0000 |
---|---|---|
committer | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-22 14:41:41 +0000 |
commit | 4bddaff78ec1ee99521eb8774cafe3a1e7c6d36c (patch) | |
tree | 225ab5dbf86a20a7120ac4c7ef78d565910460a1 /tools/update_copyright_year.sh | |
parent | 53f4035a2f4a6f33b447ce3658c4dc062058c422 (diff) | |
download | fork-ledger-4bddaff78ec1ee99521eb8774cafe3a1e7c6d36c.tar.gz fork-ledger-4bddaff78ec1ee99521eb8774cafe3a1e7c6d36c.tar.bz2 fork-ledger-4bddaff78ec1ee99521eb8774cafe3a1e7c6d36c.zip |
Move garbage-input.dat to test case using it
Diffstat (limited to 'tools/update_copyright_year.sh')
-rwxr-xr-x | tools/update_copyright_year.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/update_copyright_year.sh b/tools/update_copyright_year.sh index db9541d4..ab08a947 100755 --- a/tools/update_copyright_year.sh +++ b/tools/update_copyright_year.sh @@ -5,7 +5,7 @@ # This script will replace the last year of Copyright statements with the first # argument of this script (defaulting to the current year). -# Copyright (c) 2016 Alexis Hildebrandt +# Copyright (c) 2016, 2019 Alexis Hildebrandt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -31,6 +31,6 @@ YEAR=${1:-$(date +%Y)} GREP=${2:-egrep} ${GREP} -Rl 'Copyright.*Wiegley' $(git ls-files | cut -d / -f1 | uniq) \ - | ${GREP} -v "(test/garbage-input.dat|$(basename $0))" \ + | ${GREP} -v "(test/regress/25A099C9.dat|$(basename $0))" \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${YEAR}/" |