[oe] [meta-oe] [PATCH] bash2dash conversion

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Sep 19 11:01:05 UTC 2016


On Sun, Sep 18, 2016 at 12:36 AM, Christopher Larson
<clarson at kergoth.com> wrote:
> The purpose of ‘command’ is to *run* a command, not check if it’s
> available, and ‘type’ is mandated in SuSv3/SuSv4/POSIX. If dash doesn’t
> provide it, it’s broken.

It provides it and works:

% dash
$ if type dash; then echo "dash is found and working"; else echo "Error"; fi
dash is /bin/dash
dash is found and working
$

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list