diff --git a/build-scripts/update-copyright.sh b/build-scripts/update-copyright.sh index 84d563b5d..84437ce85 100755 --- a/build-scripts/update-copyright.sh +++ b/build-scripts/update-copyright.sh @@ -2,7 +2,7 @@ find . -type f -exec grep -Il "Copyright" {} \; \ | grep -v \.hg \ -| while read $file; \ +| while read file; \ do \ LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ rm "${file}e"; \