conf/kern.mk: save some work by using realpath instead of cd ; pwd

I did not check if the entire ordeal can be avoided in the first place.
This commit is contained in:
Mateusz Guzik 2021-01-27 13:25:21 +01:00
parent 7a57c9cb5a
commit bcb7f57aa2

View File

@ -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}