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",
> > 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
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
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
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
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
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