The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=bcb7f57aa22757dd0206e88894bc003a93d0c351
commit bcb7f57aa22757dd0206e88894bc003a93d0c351 Author: Mateusz Guzik <[email protected]> AuthorDate: 2021-01-27 12:25:21 +0000 Commit: Mateusz Guzik <[email protected]> CommitDate: 2021-01-27 12:41:33 +0000 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. --- sys/conf/kmod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
