MFC r274458,274523:

Derive copyright year from src/COPYRIGHT.
This commit is contained in:
delphij 2014-12-04 23:19:04 +00:00
parent 0c96bfd67d
commit 36b0a2ac49

View File

@ -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