Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 18:44:13 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274523 - head/sys/conf
Message-ID:  <201411141844.sAEIiDi6087689@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411141844.sAEIiDi6087689>