diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-24 20:03:52 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-26 22:40:07 +0100 |
commit | f560358c6bcb5c4c30682427aa1878d74f5a3dd2 (patch) | |
tree | 83bc5161f6ed03890edc72d6e702ee4bca06643f /tools | |
parent | bd7ad9aedd87c857477bbfcf7653af91a80f4df6 (diff) | |
download | mana-f560358c6bcb5c4c30682427aa1878d74f5a3dd2.tar.gz mana-f560358c6bcb5c4c30682427aa1878d74f5a3dd2.tar.bz2 mana-f560358c6bcb5c4c30682427aa1878d74f5a3dd2.tar.xz mana-f560358c6bcb5c4c30682427aa1878d74f5a3dd2.zip |
Updated update-copyright.sh script
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 8f924f53..88278345 100755 --- a/tools/update-copyright.sh +++ b/tools/update-copyright.sh @@ -1,6 +1,6 @@ #!/bin/bash # Copyright (C) 2001-2010 Wormux Team. -# Copyright (C) 2010 The ManaWorld Development Team. +# Copyright (C) 2010 The Mana World Development Team. new_year="$1" [[ -z $new_year ]] && echo "Missing parameter: year" && exit 1 @@ -12,7 +12,7 @@ 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" | - xargs sed -i "/Copyright.*The Mana World Development Team/ s,\(20[0-9]*\) \|\(20[0-9]*\)-20[0-9]* ,\1\2-$new_year ," + xargs sed -i "/Copyright.*The Mana Developers/ s,\(20[0-9]*\) \|\(20[0-9]*\)-20[0-9]* ,\1\2-$new_year ," # do a semi-automated commit check git diff > $tmp_file |