Don't let NLSLINKS contain itself.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e60b2fcbeb
commit
91a44dfeef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295223
@ -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 New Issue
Block a user