aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 2281c11538d0..d59626703685 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -162,6 +162,9 @@ beforeinstallconfig:
rm -f ${DESTDIR}/.cshrc
afterinstallconfig:
- ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc
+ # XXX Set link mode explicitly via -m. We cannot use LINKMODE for this
+ # link, as it would also apply to the tcsh link above.
+ ${INSTALL_LINK} ${TAG_ARGS} -m ${CONFMODE} ${DESTDIR}/root/.cshrc \
+ ${DESTDIR}/.cshrc
.include <bsd.prog.mk>