[PATCH] tests/runtestfedabipkgdiffpy3.sh.in: Don't use which to find python3

Dodji Seketeli dodji@seketeli.org
Mon May 19 10:22:03 GMT 2025


Hello,

"Mark J. Wielaard" <mark@klomp.org> a écrit:

> From: Mark Wielaard <mark@klomp.org>
>
> which isn't really portable and some distros are removing it from
> their base set of packages. https://lwn.net/Articles/874049/

Whoah, thank you for the reference.  This is some interesting whichcraft
reading.

> command -v is POSIX and always available in a POSIX shell (like bash).

I didn't even know about 'command -v'.  Thanks for the pointer.

>
> 	* tests/runtestfedabipkgdiffpy3.sh.in: Replace which with
> 	command -v.
>
> Signed-off-by: Mark Wielaard <mark@klomp.org>

Applied to the mainline.

Many thanks.

[...]

Cheers,

-- 
		Dodji


More information about the Libabigail mailing list