mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
sh: Fix non-NO_ROOT installconfig
When building without NO_ROOT, ${TAG_ARGS} is not set, which means we
pass ",config" as an install(1) argument. Only add the config tag if
${TAG_ARGS} is defined to begin with.
Fixes: aa730a66bc ("sh: Add config tag to /.profile")
Reported by: bz
This commit is contained in:
parent
00c9ebbbc6
commit
b197d2abcb
1 changed files with 1 additions and 1 deletions
|
|
@ -74,6 +74,6 @@ beforeinstallconfig:
|
|||
|
||||
LINKMODE=${CONFMODE}
|
||||
afterinstallconfig:
|
||||
${INSTALL_LINK} ${TAG_ARGS},config ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
||||
${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},config} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue