mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Respect INSTALL_AS_USER for FILES.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
9f4bf11e12
commit
9ef60181ae
1 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ installfiles: installfiles-${group}
|
|||
|
||||
${group}OWN?= ${SHAREOWN}
|
||||
${group}GRP?= ${SHAREGRP}
|
||||
.if ${MK_INSTALL_AS_USER} == "yes"
|
||||
${group}OWN= ${SHAREOWN}
|
||||
${group}GRP= ${SHAREGRP}
|
||||
.endif
|
||||
${group}MODE?= ${SHAREMODE}
|
||||
${group}DIR?= ${BINDIR}
|
||||
STAGE_SETS+= ${group:C,[/*],_,g}
|
||||
|
|
@ -46,6 +50,10 @@ _${group}FILES=
|
|||
defined(${group}NAME_${file:T}) || defined(${group}NAME)
|
||||
${group}OWN_${file:T}?= ${${group}OWN}
|
||||
${group}GRP_${file:T}?= ${${group}GRP}
|
||||
.if ${MK_INSTALL_AS_USER} == "yes"
|
||||
${group}OWN_${file:T}= ${SHAREOWN}
|
||||
${group}GRP_${file:T}= ${SHAREGRP}
|
||||
.endif
|
||||
${group}MODE_${file:T}?= ${${group}MODE}
|
||||
${group}DIR_${file:T}?= ${${group}DIR}
|
||||
.if defined(${group}NAME)
|
||||
|
|
|
|||
Loading…
Reference in a new issue