[OE-core] [PATCH] classes: Standardize strings tests, and join some if/then/while/do lines

Burton, Ross ross.burton at intel.com
Tue Mar 28 11:31:09 UTC 2017


On 28 March 2017 at 11:50, Robert P. J. Day <rpjday at crashcourse.ca> wrote:

>  gconf_postinst() {
> -if [ "x$D" != "x" ]; then
> +if [ -n "${D}" ]; then
>

This totally changes how the postinst behaves.  I'll leave understanding
how as an exercise to the reader. :)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170328/9ba1367a/attachment-0002.html>


More information about the Openembedded-core mailing list