aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-11-14 18:44:13 +0000
committerXin LI <delphij@FreeBSD.org>2014-11-14 18:44:13 +0000
commitb4f46e79e8d1f18c82cb74201c440f2e6c8fa8ce (patch)
tree45ea12ad649478ff3f96383bc5705fec9dd96ca8 /sys/conf
parente1a445455336b75a2b7b624f8c162d06ff902734 (diff)
downloadsrc-b4f46e79e8d1f18c82cb74201c440f2e6c8fa8ce.tar.gz
src-b4f46e79e8d1f18c82cb74201c440f2e6c8fa8ce.zip
Use ${SYSDIR} as the reference pointer instead of specifying relative path directly.
Reported by: jenkins via Olivér Pintér (on github)
Notes
Notes: svn path=/head/; revision=274523
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index eb31300cac0a..9b3b84b06186 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -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