Fixed typo in copyright update script

This commit is contained in:
Sam Lantinga 2017-01-01 18:36:35 -08:00
parent 45b774e3f7
commit 9e6d729e2d

View File

@ -2,7 +2,7 @@
find . -type f -exec grep -Il "Copyright" {} \; \ find . -type f -exec grep -Il "Copyright" {} \; \
| grep -v \.hg \ | grep -v \.hg \
| while read $file; \ | while read file; \
do \ do \
LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
rm "${file}e"; \ rm "${file}e"; \