<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 18, 2021 at 6:08 PM Petr Vorel <<a href="mailto:pvorel@suse.cz">pvorel@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">"which" has been discontinued after 2.21 release in 2015 due this (git<br>
repository is empty [1]) it provides warning on Debian/Ubuntu [2].<br>
<br>
Use "command -v" which is POSIX [3] and supported on all common shells<br>
(bash, zsh, dash, busybox sh, mksh).<br>
<br>
[1] <a href="https://git.savannah.gnu.org/cgit/which.git" rel="noreferrer" target="_blank">https://git.savannah.gnu.org/cgit/which.git</a><br>
[2] <a href="https://salsa.debian.org/debian/debianutils/-/commit/3a8dd10b4502f7bae8fc6973c13ce23fc9da7efb" rel="noreferrer" target="_blank">https://salsa.debian.org/debian/debianutils/-/commit/3a8dd10b4502f7bae8fc6973c13ce23fc9da7efb</a><br>
[3] <a href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html" rel="noreferrer" target="_blank">https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html</a><br>
<br>
Signed-off-by: Petr Vorel <<a href="mailto:pvorel@suse.cz" target="_blank">pvorel@suse.cz</a>><br></blockquote><div><span class="gmail_default" style="font-size:small">Reviewed-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>></span></div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>