Browse Source

Commit the update-copyrights script.

(I'm tired of rewriting this by hand every January)
Nick Mathewson 9 years ago
parent
commit
fc0febc5c6
1 changed files with 7 additions and 0 deletions
  1. 7 0
      scripts/maint/updateCopyright.pl

+ 7 - 0
scripts/maint/updateCopyright.pl

@@ -0,0 +1,7 @@
+#!/usr/bin/perl -i -w -p
+
+$NEWYEAR=2015;
+
+s/Copyright(.*) (201[^5]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
+
+s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;