mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
updateCopyright: look at the current year.
This commit is contained in:
parent
2f31c8146f
commit
66eb0a5a32
@ -1,7 +1,9 @@
|
||||
#!/usr/bin/perl -i -w -p
|
||||
|
||||
$NEWYEAR=2019;
|
||||
@now = gmtime();
|
||||
|
||||
s/Copyright(.*) (201[^9]), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
|
||||
$NEWYEAR=$now[5]+1900;
|
||||
|
||||
s/Copyright([^-]*) (20[^-]*), The Tor Project/Copyright$1 $2-${NEWYEAR}, The Tor Project/;
|
||||
|
||||
s/Copyright(.*)-(20..), The Tor Project/Copyright$1-${NEWYEAR}, The Tor Project/;
|
||||
|
Loading…
Reference in New Issue
Block a user