Skip to content

Commit

Permalink
scripts: modifica dell'aggiornamento del copyright
Browse files Browse the repository at this point in the history
Giusto per evitare un problema di ricorsivita'...
  • Loading branch information
Gelma committed Jan 5, 2012
1 parent 51c23ef commit da8bf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/incrementa_anno_copyright.sh
Expand Up @@ -13,4 +13,4 @@ repo_locale=$(git rev-parse --show-cdup)
[ "$repo_locale" = "" ] && repo_locale="." # sono nella root del repo
/bin/cp -af "$repo_locale" "$dir_backup_prima_di_aggiornamento"

/usr/bin/find -type f | /bin/egrep '(.py|.html|.txt|.sh|.php)$' | /usr/bin/xargs /bin/grep -il 'Copyright 2010-2012' | /usr/bin/xargs /bin/sed -i 's/Copyright 2010-2012/Copyright 2010-2012/g'
/usr/bin/find -type f | /bin/egrep '(.py|.html|.txt|.php)$' | /usr/bin/xargs /bin/grep -il 'Copyright 2010-2011' | /usr/bin/xargs /bin/sed -i 's/Copyright 2010-2011/Copyright 2010-2012/g'

0 comments on commit da8bf09

Please sign in to comment.