toolbox/projtool.pl: use the shell to run `command -v`
commit6f18c33b54410376a471898d5f60b4ac01aa3eec
authorKyle J. McKay <mackyle@gmail.com>
Tue, 9 Jun 2020 15:51:24 +0000 (9 08:51 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 9 Jun 2020 15:51:24 +0000 (9 08:51 -0700)
treebe9ac97daf12b0326cf74bb35435463d10fdf207
parent941399795ec51345fa24c0887fe8b4b0321ccdac
toolbox/projtool.pl: use the shell to run `command -v`

Although some systems do actually have a `/usr/bin/command` executable,
it's only guaranteed to be available via the POSIX shell `sh`.

Make sure that perl's "qx" command actually runs the shell rather
than taking a shortcut by explicitly using `sh -c`.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/projtool.pl