From 6a43636fc0be60fcb9b6761981480f2bb9da41f8 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 1 Jan 2024 14:43:55 -0500 Subject: project-wide: Make copyright year a range Signed-off-by: Ian Moffett --- tools/cross.sh | 2 +- tools/update-copyright | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/cross.sh b/tools/cross.sh index c161bea..65fc148 100644 --- a/tools/cross.sh +++ b/tools/cross.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# Copyright (c) 2024 Ian Marco Moffett and the Osmora Team. +# Copyright (c) 2023-2024 Ian Marco Moffett and the Osmora Team. # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/tools/update-copyright b/tools/update-copyright index d1af46c..0f2ba80 100755 --- a/tools/update-copyright +++ b/tools/update-copyright @@ -7,5 +7,5 @@ current_year=$(date +"%Y") find . -type f -print0 | while read -d $'\0' file do # Replace the old copyright notice with the new one - sed -i "s/\(Copyright (c) \)[0-9]\{4\}\(.*\)/\1${current_year}\2/g" "${file}" + sed -i "s/\(Copyright (c) \)2023-[0-9]\{4\}\(.*\)/\12023-${current_year}\2/g" "${file}" done -- cgit v1.2.3