diff -r c88f08b5a807 -r 1887bc9a89e2 build-scripts/update-copyright.sh --- a/build-scripts/update-copyright.sh Sun Jan 01 18:36:35 2017 -0800 +++ b/build-scripts/update-copyright.sh Sun Jan 01 18:47:29 2017 -0800 @@ -4,13 +4,5 @@ | grep -v \.hg \ | while read file; \ do \ - LC_ALL=C sed -ie "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ - rm "${file}e"; \ + LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ done - -for file in COPYING.txt VisualC-WinRT/SDL2-WinRT.nuspec VisualC-WinRT/SDL2main-WinRT-NonXAML.nuspec src/main/windows/version.rc visualtest/COPYING.txt -do if [ -f "$file" ]; then - sed 's/$'"/`echo \\\r`/" $file > $file.new - mv $file.new $file - fi -done