From b40f3f36a34fc25cf35f102e5b029c434e9e043a Mon Sep 17 00:00:00 2001 From: Daniel Zerbino <zerbino@ebi.ac.uk> Date: Fri, 27 May 2016 13:06:56 +0100 Subject: [PATCH] Updated copyright script for transition to EBI-only --- misc-scripts/annual_copyright_updater.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc-scripts/annual_copyright_updater.sh b/misc-scripts/annual_copyright_updater.sh index 810867f551..6f6cb0f7ca 100755 --- a/misc-scripts/annual_copyright_updater.sh +++ b/misc-scripts/annual_copyright_updater.sh @@ -33,8 +33,8 @@ for var in $dirs; do year=$(date "+%Y") last_year=$(($year - 1)) - search="\\[1999-${last_year}\\] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute" - replacement="\\[1999-${year}\\] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute" + search="\\[1999-[0-9]*\\] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute" + replacement="[1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute\nCopyright [2015-2016] EMBL-European Bioinformatics Institute" echo "About to scan $(pwd) for files to replace '$search' with '$replacement'" @@ -48,4 +48,4 @@ for var in $dirs; do done cd $original_wd -done \ No newline at end of file +done -- GitLab