Deprecated: 'which' should be command -v #205
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Pending Release
This is fixed but not yet released.
Target: 3.x
This is targeted to the 3.x version.
Background Information:
Describe the bug
A clear and concise description of what the bug is.
When opening Pengwin, I see
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
To Reproduce
Steps to reproduce the behavior:
Open Pengwin or some other later distro such as Fedora.
Expected behavior
A clear and concise description of what you expected to happen.
Use command -v instead, verify it still works on older distros like CentOS and Ubuntu 16.04
Additional context
Add any other context about the problem here.
Not replacing this will eventually result in breakage of all scripts which make use of
which
. I noticed at least one script which makes use of this. I also will file this against Pengwin to get those scripts updated too.The text was updated successfully, but these errors were encountered: