grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / codesets / tools / update_copyright.sh
blobb8b9a80a678049ed99f1bee31e16bbfc654bd2d9
1 #!/bin/sh
3 # simply bumps the year in all copyright and header files to the latest one
5 # WARNING: This script will run over ALL files regardless if they are text
6 # or binary files and search for the copyright notice and replace it
7 # immediately. So you need to be aware of that
10 YEAR=`date +%Y`
12 # walk through the whole directory this script is called in and search
13 # for files which we will try to update the Copyright notice
14 find . \( -not -path "*/.svn/*" -not -name "update_copyright.sh" \) -type f \
15 -exec sed -i "s/Copyright.*(C).*2005-.*codesets.library Open Source Team/Copyright (C) 2005-${YEAR} codesets.library Open Source Team/g" {} \;