diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-09-02 12:47:36 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-09-02 12:47:36 +0100 |
| commit | b197d2abcb6895d78bc9df8404e374397aa44748 (patch) | |
| tree | 9a8be082b8ebc8cbaaa2d36d4b1907922537bce1 /bin | |
| parent | 00c9ebbbc6533bd0b23e374a59e91345bb26d3dc (diff) | |
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: aa730a66bc74 ("sh: Add config tag to /.profile")
Reported by: bz
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/sh/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 4dbbf344bfb5..916bb88b57fa 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -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> |
