svn commit: r274523 - head/sys/conf

Xin LI delphij at FreeBSD.org
Fri Nov 14 18:44:14 UTC 2014


Author: delphij
Date: Fri Nov 14 18:44:13 2014
New Revision: 274523
URL: https://svnweb.freebsd.org/changeset/base/274523

Log:
  Use ${SYSDIR} as the reference pointer instead of specifying relative path directly.
  
  Reported by:	jenkins via Olivér Pintér (on github)

Modified:
  head/sys/conf/newvers.sh

Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh	Fri Nov 14 18:30:20 2014	(r274522)
+++ head/sys/conf/newvers.sh	Fri Nov 14 18:44:13 2014	(r274523)
@@ -52,7 +52,7 @@ else
 fi
 
 b=share/examples/etc/bsd-style-copyright
-year=$(sed -Ee '/^Copyright .* The FreeBSD Project/!d;s/^.*1992-([0-9]*) .*$/\1/g' ../../COPYRIGHT)
+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


More information about the svn-src-all mailing list