svn commit: r274458 - head/sys/conf
Xin LI
delphij at FreeBSD.org
Thu Nov 13 00:30:18 UTC 2014
Author: delphij
Date: Thu Nov 13 00:30:17 2014
New Revision: 274458
URL: https://svnweb.freebsd.org/changeset/base/274458
Log:
Derive copyright year from src/COPYRIGHT.
MFC after: 2 weeks
Modified:
head/sys/conf/newvers.sh
Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh Thu Nov 13 00:14:25 2014 (r274457)
+++ head/sys/conf/newvers.sh Thu Nov 13 00:30:17 2014 (r274458)
@@ -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
More information about the svn-src-head
mailing list