aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/conf/kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index c245f447cefb..c0d4441af029 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -309,7 +309,7 @@ ${_ILINKS}:
*) \
path=${SYSDIR}/${.TARGET:T}/include ;; \
esac ; \
- path=`(cd $$path && /bin/pwd)` ; \
+ path=`realpath $$path`; \
${ECHO} ${.TARGET:T} "->" $$path ; \
ln -fns $$path ${.TARGET:T}