Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-28 Thread Patrick Ohly
On Tue, 2017-03-28 at 06:54 -0400, Robert P. J. Day wrote: > i'm fine with that, as long as it's officially POSIX. that also > suggests the alternate tests: > > [ "${VAR}" ] > [ ! "${VAR}" ] I personally prefer this. ! instead of -z feels more consistent (when not using the special "-n",

Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-28 Thread Robert P. J. Day
> > To: Richard Purdie > > Cc: OE Core mailing list > > Subject: Re: [OE-core] [PATCH] classes: Replace "if test" file tests > > with POSIX file tests > > > > On Mon, 27 Mar 2017, Richard Purdie wrote: > > > > > On Sat, 2017-03-25 at 14

Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-28 Thread Richard Purdie
On Tue, 2017-03-28 at 05:56 -0400, Robert P. J. Day wrote: > On Mon, 27 Mar 2017, Richard Purdie wrote: > > > > > On Sat, 2017-03-25 at 14:03 -0400, Robert P. J. Day wrote: > > > > > > In entire meta/classes/ directory, replace shell tests of the > > > form > > > "if test -? ..." with POSIX

Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-28 Thread Peter Kjellerstedt
OE-core] [PATCH] classes: Replace "if test" file tests > with POSIX file tests > > On Mon, 27 Mar 2017, Richard Purdie wrote: > > > On Sat, 2017-03-25 at 14:03 -0400, Robert P. J. Day wrote: > > > In entire meta/classes/ directory, replace shell tests of

Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-28 Thread Robert P. J. Day
On Mon, 27 Mar 2017, Richard Purdie wrote: > On Sat, 2017-03-25 at 14:03 -0400, Robert P. J. Day wrote: > > In entire meta/classes/ directory, replace shell tests of the form > > "if test -? ..." with POSIX tests of the form "if [ -? ... > > > > Signed-off-by: Robert P. J. Day

Re: [OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-27 Thread Richard Purdie
On Sat, 2017-03-25 at 14:03 -0400, Robert P. J. Day wrote: > In entire meta/classes/ directory, replace shell tests of the form > "if test -? ..." with POSIX tests of the form "if [ -? ... > > Signed-off-by: Robert P. J. Day > > --- > >   as i cannot abide those silly

[OE-core] [PATCH] classes: Replace "if test" file tests with POSIX file tests

2017-03-25 Thread Robert P. J. Day
In entire meta/classes/ directory, replace shell tests of the form "if test -? ..." with POSIX tests of the form "if [ -? ... Signed-off-by: Robert P. J. Day --- as i cannot abide those silly "if test" constructs, i zipped through and changed them to POSIX form. is