summaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-15 16:22:12 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-15 16:22:12 +0000
commit1da0bddb6df4943e8d0365b0032cd17b70301aa3 (patch)
treeec8ec40cab4f46a4e381f5f9484bb6c4137ae08a /bin/sh
parent59b2022f942dea39cbfde8ec47e7b4ed27f54f0d (diff)
downloadsrc-test2-1da0bddb6df4943e8d0365b0032cd17b70301aa3.tar.gz
src-test2-1da0bddb6df4943e8d0365b0032cd17b70301aa3.zip
Notes
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 1e8684051a47..b50e3217e97f 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -37,7 +37,6 @@ WFORMAT=0
CLEANFILES+= mknodes mksyntax
CLEANFILES+= ${GENSRCS} ${GENHDRS}
-LINKS= /root/.profile /.profile
build-tools: mknodes mksyntax
@@ -67,4 +66,7 @@ SUBDIR.${MK_TESTS}+= tests
beforeinstall:
rm -f ${DESTDIR}/.profile
+afterinstallconfig:
+ ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
+
.include <bsd.prog.mk>