mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Don't let NLSLINKS contain itself.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e60b2fcbeb
commit
91a44dfeef
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ SYMLINKS+= ${NLSSYMLINKS}
|
|||
.for file in ${NLS}
|
||||
NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat
|
||||
.if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
|
||||
.if !empty(NLSLINKS_${file:R}:M${file:R})
|
||||
.error NLSLINKS_${file:R} contains itself: ${file:R}
|
||||
.endif
|
||||
NLSLINKS+= ${file:R}
|
||||
.endif
|
||||
.for dst in ${NLSLINKS_${file:R}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue