MFC r274458,274523:
Derive copyright year from src/COPYRIGHT.
This commit is contained in:
parent
0c96bfd67d
commit
36b0a2ac49
@ -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' ${SYSDIR}/../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