Skip to content
Snippets Groups Projects
Commit 5f87b05d authored by Moul's avatar Moul
Browse files

[mod] #134: Get rid of update_copyright_year.sh which becomes useless

parent 3679e1cd
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!141#134: Introduce insert-license hook and fixup license headers
#!/bin/bash
# Script to update the copyright year in header files
NEW_YEAR=`date +"%Y"`
OLD_YEAR=`expr $NEW_YEAR - 1`
find duniterpy tests examples -type f -name "*.py" | \
xargs sed -i "s/Copyright 2014-$OLD_YEAR V/Copyright 2014-$NEW_YEAR V/g"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment