From 2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jan 2016 21:40:08 +0300 Subject: Update copyright year in .cc files. --- tools/update-copyright.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/update-copyright.sh b/tools/update-copyright.sh index 4ae1ebcbb..1a0af938b 100755 --- a/tools/update-copyright.sh +++ b/tools/update-copyright.sh @@ -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" -or -iname "*.inc" | +find -iname "*.cpp" -or -iname "*.h" -or -iname "*.hpp" -or -iname "*.inc" -or -iname "*.cc" | 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