Skip to content
Snippets Groups Projects
Unverified Commit 3a6aa7cd authored by Tiago Grego's avatar Tiago Grego Committed by GitHub
Browse files

Merge pull request #463 from Ensembl/bugfix/annual_copyright_updater_symlinks

[annual copyright updater]. Bugfix: do not touch symbolic links
parents 491b3b93 866a6ba6
No related branches found
No related tags found
1 merge request!469Yearly copyright update [feature/xref_sprint]
......@@ -39,7 +39,7 @@ for var in $dirs; do
echo "About to scan $(pwd) for files to replace '$search' with '$replacement'"
for file in $(grep -R --files-with-matches "$search" --exclude-dir=.git .); do
for file in $(grep -r --files-with-matches "$search" --exclude-dir=.git .); do
echo "Replacing date in $file"
if [ "$(uname)" = "Darwin" ]; then
LC_CTYPE=C LANG=C sed -i '' -e "s/$search/$replacement/g" $file
......
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