From 5a079a2d114f96d4847d1ee305d5b7c16eeec50e Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 27 Dec 2025 12:03:39 -0800 Subject: Initial commit --- contrib/SDL-3.2.8/build-scripts/update-copyright.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 contrib/SDL-3.2.8/build-scripts/update-copyright.sh (limited to 'contrib/SDL-3.2.8/build-scripts/update-copyright.sh') diff --git a/contrib/SDL-3.2.8/build-scripts/update-copyright.sh b/contrib/SDL-3.2.8/build-scripts/update-copyright.sh new file mode 100755 index 0000000..9bb46ea --- /dev/null +++ b/contrib/SDL-3.2.8/build-scripts/update-copyright.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ "$SED" = "" ]; then + if type gsed >/dev/null; then + SED=gsed + else + SED=sed + fi +fi + +find . -type f \ +| grep -v \.git \ +| while read file; do \ + LC_ALL=C $SED -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ +done -- cgit v1.2.3