diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-02 18:44:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-02 18:44:18 +0300 |
commit | a65d9da124346f6cec0ac679c689bf6dd0ce34e8 (patch) | |
tree | 773780630722f44aba14cc783c218a390243a849 /tools | |
parent | 1affb49abf69dc43e38219577c6ae54371f21e0e (diff) | |
download | mv-a65d9da124346f6cec0ac679c689bf6dd0ce34e8.tar.gz mv-a65d9da124346f6cec0ac679c689bf6dd0ce34e8.tar.bz2 mv-a65d9da124346f6cec0ac679c689bf6dd0ce34e8.tar.xz mv-a65d9da124346f6cec0ac679c689bf6dd0ce34e8.zip |
Update copyrights year.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-copyright.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |