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

Made the assumption that all the EBI copyright would start by 2016 but it's...

Made the assumption that all the EBI copyright would start by 2016 but it's not the case for the Ensembl genomes repos. Now updated regex to be more generic
parent fa69e5e6
No related branches found
No related tags found
2 merge requests!176Made the assumption that all the EBI copyright would start by 2016 bu…,!176Made the assumption that all the EBI copyright would start by 2016 bu…
......@@ -34,8 +34,8 @@ for var in $dirs; do
year=$(date "+%Y")
last_year=$(($year - 1))
search="^\(.*\)\\[2016\(-*[0-9]*\)\\] EMBL-European Bioinformatics Institute"
replacement="\1[2016-$year] EMBL-European Bioinformatics Institute"
search="^\(.*\)\\[\([0-9]*\)\(-*[0-9]*\)\\] EMBL-European Bioinformatics Institute"
replacement="\1[\2-$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