Use ${SYSDIR} as the reference pointer instead of specifying relative path directly.
Reported by: jenkins via Olivér Pintér (on github)
This commit is contained in:
parent
1a17154ef9
commit
b9d43d1472
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user