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