Skip to content

Commit

Permalink
Use proper convention for relative path linking
Browse files Browse the repository at this point in the history
The change made in e835ee6 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:	f05948d
MFC with:	e835ee6
Requested by:	jrtc27, kevans
  • Loading branch information
ngie-eign committed Aug 18, 2023
1 parent a76629c commit 22dc890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cpuset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ PROG= cpuset

LIBADD= jail

SYMLINKS+= ../../bin/cpuset /usr/bin/cpuset
SYMLINKS+= ../..${BINDIR}/cpuset /usr/bin/cpuset

.include <bsd.prog.mk>

0 comments on commit 22dc890

Please sign in to comment.