Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chown: link to chgrp in the same bin folder #133

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions usr.sbin/chown/Makefile
Expand Up @@ -3,9 +3,9 @@

.include <src.opts.mk>

PROG= chown
LINKS= ${BINDIR}/chown /usr/bin/chgrp
MAN= chgrp.1 chown.8
PROG= chown
SYMLINKS= ${BINDIR}/chown ${BINDIR}/chgrp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd likely need to have this line as well

SYMLINKS+= ${BINDIR}/chown /usr/bin/chgrp

to ensure maximum compatibility. With that, I'd think the change would be fine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking more about it, I think the simplest thing would be to change LINKS to SYMLINKS and leave the directory where it is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too bad this doesn't work.

MAN= chgrp.1 chown.8

HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
Expand Down