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

Robert P. J. Day rpjday at crashcourse.ca
Tue Mar 28 12:04:11 UTC 2017


On Tue, 28 Mar 2017, Burton, Ross wrote:

>
> 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. :)

  *sigh* ... my bad.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the Openembedded-core mailing list