> Hi Daniel, > sorry for longer time to reply (vacation).
> > On Fri, Aug 06, 2021 at 08:45:08AM +0200, Petr Vorel wrote: > > > It help to avoid error on distros which has only python3 binary: > > > ./autogen.sh: line 20: python: command not found > > > Using bash builtin 'command -v' to avoid requiring which as extra > > > dependency (usable on containers). > command -v is supported in other common shells (busybox sh and dash), > I'll add it to the commit message. > IMHO it's non-POSIX extension, but because it's support we use it in LTP shell > API, where we expect very minimal shell tools (i.e. no bash, no core utils). Actually "command -v" [1] and "type" [2] are POSIX. Kind regards, Petr [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html [2] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/type.html _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel