]> mj.ucw.cz Git - pciutils.git/commit
Use "command -v" instead of "which"
authorMartin Mares <mj@ucw.cz>
Sat, 4 Mar 2023 15:33:09 +0000 (16:33 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 4 Mar 2023 15:33:09 +0000 (16:33 +0100)
commit85f05a7c92b23d7e306be5feb5a5ae26a47afe67
tree0853b77baaf12a0b82d64c6fc563008a25253253
parent30957f075883d179ae04487d0833cb79ed9c31f4
Use "command -v" instead of "which"

Apparently, people started considering "which" obsolete. I still
consider "which" rather useful and definitely more comfortable to type
than "command -v".

Still, "command -v" should be more portable, so let us use it.
I wonder which of the ancient systems which we are still supporting
will be broken by this change...
update-pciids.sh