Hi Cyril,
> Hi!
> Looks good.
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Looks like 'command -v' which is POSIX works (tested in bash, dash, busybox sh
and android shell), thus I suggest to drop this patch and use 'command -v'
instead of 'type'.
$ foo(){ echo "in foo";}
$ command -v foo
foo
Kind regards,
Petr