Skip to content
Snippets Groups Projects
Commit 2ab02629 authored by Thomas Maurel's avatar Thomas Maurel
Browse files

Fixed bug where script was not properly replacing date in anything different than a POD block

parent bb38ec4d
No related branches found
No related tags found
2 merge requests!172Updating script to be able to update the EBI Copyright every year. No…,!172Updating script to be able to update the EBI Copyright every year. No…
......@@ -35,7 +35,7 @@ for var in $dirs; do
last_year=$(($year - 1))
search="^\(.*\)\\[2016\(-*[0-9]*\)\\] EMBL-European Bioinformatics Institute"
replacement="Copyright [2016-$year] EMBL-European Bioinformatics Institute"
replacement="\1[2016-$year] EMBL-European Bioinformatics Institute"
echo "About to scan $(pwd) for files to replace '$search' with '$replacement'"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment