mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Derive copyright year from src/COPYRIGHT.
MFC after: 2 weeks
This commit is contained in:
parent
ad15cc59e9
commit
efda9da6e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274458
@ -52,7 +52,7 @@ else
|
||||
fi
|
||||
|
||||
b=share/examples/etc/bsd-style-copyright
|
||||
year=`date '+%Y'`
|
||||
year=$(sed -Ee '/^Copyright .* The FreeBSD Project/!d;s/^.*1992-([0-9]*) .*$/\1/g' ../../COPYRIGHT)
|
||||
# look for copyright template
|
||||
for bsd_copyright in ../$b ../../$b ../../../$b /usr/src/$b /usr/$b
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user