mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
e1a4454553
commit
b4f46e79e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue