From a65d9da124346f6cec0ac679c689bf6dd0ce34e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jan 2016 18:44:18 +0300 Subject: Update copyrights year. --- tools/update-copyright.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/update-copyright.sh') diff --git a/tools/update-copyright.sh b/tools/update-copyright.sh index 9a340e311..4ae1ebcbb 100755 --- a/tools/update-copyright.sh +++ b/tools/update-copyright.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright (C) 2001-2010 Wormux Team. # Copyright (C) 2010 The ManaWorld Development Team. -# Copyright (C) 2012-2015 The ManaPlus Developers. +# Copyright (C) 2012-2016 The ManaPlus Developers. new_year="$1" [[ -z $new_year ]] && echo "Missing parameter: year" && exit 1 @@ -12,7 +12,7 @@ tmp_file="w$RANDOM$RANDOM$RANDOM$RANDOM" [[ -e $tmp_file ]] && tmp_file="w$RANDOM$RANDOM$RANDOM$RANDOM" # update the dates, creating the interval if it doesn't exist yet -find -iname "*.cpp" -or -iname "*.h" -or -iname "*.hpp" | +find -iname "*.cpp" -or -iname "*.h" -or -iname "*.hpp" -or -iname "*.inc" | xargs sed -i "/Copyright.*The ManaPlus Developers/ s,\(20[0-9]*\) \|\(20[0-9]*\)-20[0-9]* ,\1\2-$new_year ," # do a semi-automated commit check -- cgit v1.2.3-70-g09d2