Date: Thu, 4 Dec 2014 23:19:05 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r275487 - stable/10/sys/conf Message-ID: <201412042319.sB4NJ5wY001926@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Thu Dec 4 23:19:04 2014 New Revision: 275487 URL: https://svnweb.freebsd.org/changeset/base/275487 Log: MFC r274458,274523: Derive copyright year from src/COPYRIGHT. Modified: stable/10/sys/conf/newvers.sh Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/conf/newvers.sh ============================================================================== --- stable/10/sys/conf/newvers.sh Thu Dec 4 23:17:35 2014 (r275486) +++ stable/10/sys/conf/newvers.sh Thu Dec 4 23:19:04 2014 (r275487) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412042319.sB4NJ5wY001926>