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

make: use command -v instead of which for better portability #889

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

rolinh
Copy link
Member

@rolinh rolinh commented Feb 3, 2023

The command -v command is more portable than which, see standard link below:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html

@rolinh rolinh added the release-note/misc This PR makes changes that have no direct user impact. label Feb 3, 2023
@rolinh rolinh requested a review from a team as a code owner February 3, 2023 10:13
@rolinh rolinh requested review from kaworu and removed request for a team February 3, 2023 10:13
The `command -v` command is more portable than `which`, see standard
link below:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 3, 2023
@rolinh rolinh merged commit 2b75f62 into master Feb 3, 2023
@rolinh rolinh deleted the pr/rolinh/which-command branch February 3, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants