aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-09-30 06:02:06 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-10-01 10:35:10 +0000
commitb4b91207ab6f38db33f853b2d6b3f1bb806f94f1 (patch)
treee134635b7071fafea9028be5f1ec37330f333686
parent259bb93b80c0881a2b089e2836d92334477f09ef (diff)
sh: Remove /.profile
root's home directory was moved to /root many years ago, so there's no reason to keep this old link. This brings sh in line with csh, where /.cshrc was removed in dcb65c5a94d4. Relnotes: yes Approved by: re (cperciva) MFC after: 1 day PR: 289097 Reviewed by: cperciva, jilles, bapt, emaste Differential Revision: https://reviews.freebsd.org/D52161 (cherry picked from commit d31e342bcc8e22d7eb25c21a711cd4b8a54db6c0) bin/sh: Fix the build Removing <bsd.prog.mk> was unintentional; put it back. Fixes: d31e342bcc8e ("sh: Remove /.profile") MFC after: 1 day (cherry picked from commit bb0955ee4db8870bb013cf7d208ad9b2fc27b619)
-rw-r--r--bin/sh/Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 916bb88b57fa..2b1eca8e4b31 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -69,11 +69,4 @@ token.h: mktokens
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
-beforeinstallconfig:
- rm -f ${DESTDIR}/.profile
-
-LINKMODE=${CONFMODE}
-afterinstallconfig:
- ${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},config} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
-
.include <bsd.prog.mk>