build-scripts/update-copyright.sh
changeset 10738 c88f08b5a807
parent 10736 beca1404c586
child 10739 1887bc9a89e2
     1.1 --- a/build-scripts/update-copyright.sh	Sun Jan 01 18:33:28 2017 -0800
     1.2 +++ b/build-scripts/update-copyright.sh	Sun Jan 01 18:36:35 2017 -0800
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  find . -type f -exec grep -Il "Copyright" {} \;     \
     1.6  | grep -v \.hg                             \
     1.7 -| while read $file;                            \
     1.8 +| while read file;                            \
     1.9  do \
    1.10    LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
    1.11    rm "${file}e"; \