scripts/env: use command -v instead of which
authorRosen Penev <rosenp@gmail.com>
Mon, 6 Jan 2020 02:32:35 +0000 (18:32 -0800)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 11:33:28 +0000 (13:33 +0200)
commit56f813674a912490df327304033bf667b285930a
tree59d90b6ad9278c8760541aa99e3f1b1306b0d7a1
parent11192484fa320cd233849441bd00ddf58964de42
scripts/env: use command -v instead of which

Simpler and built in to the shell.

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
scripts/env