1
0
Fork 0
mirror of https://github.com/Ryujinx/SDL.git synced 2025-09-06 01:33:21 +00:00
SDL/build-scripts/update-copyright.sh

10 lines
274 B
Bash
Executable file

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