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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to