From 22dc8901a73fcb30ff434ddf5aada43ab10021ae Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 18 Aug 2023 04:13:06 -0700 Subject: [PATCH] Use proper convention for relative path linking The change made in e835ee68e13361b841c983fa4a49dd6c19dcdec4 did not follow the convention for relative path symlinks. Per the convention, paths be prefixed with `${BINDIR}`, not `/bin/`. `${BINDIR}` can be modified from the Makefile, on the command line, or in the environment. This convention is the canonically correct way to do things. This follows the convention used in `bin/pkill/Makefile`, `bin/timeout/Makefile`, etc. MFC after: 1 week MFC with: f05948d4e98d3abd0965a2994e9e42add6908ff3 MFC with: e835ee68e13361b841c983fa4a49dd6c19dcdec4 Requested by: jrtc27, kevans --- bin/cpuset/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cpuset/Makefile b/bin/cpuset/Makefile index a200c4fc1aa..6e88614a6a6 100644 --- a/bin/cpuset/Makefile +++ b/bin/cpuset/Makefile @@ -3,6 +3,6 @@ PROG= cpuset LIBADD= jail -SYMLINKS+= ../../bin/cpuset /usr/bin/cpuset +SYMLINKS+= ../..${BINDIR}/cpuset /usr/bin/cpuset .include