[oe] [PATCH] Corrected a typo in qtdemo-init script

Alessandro Sappia a.sappia at gmail.com
Sun Jan 23 10:47:23 UTC 2011


Dear Paul,

> Date: Sat, 22 Jan 2011 16:09:11 +0100
> From: Paul Menzel <paulepanter at users.sourceforge.net>
> Subject: Re: [oe] [PATCH] Corrected a typo in qtdemo-init script
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <1295708951.3850.166.camel at mattotaupa>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Alessandro,
>
>
> Am Samstag, den 22.01.2011, 15:59 +0100 schrieb Alessandro Sappia:
>
> please take a look at the commit policy regarding the commit
> summary/message [1].
>
I'll repost the patch following the rules (sorry about that).
> > ---
> >  recipes/qt4/qt-demo-init/qtdemo-init |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/recipes/qt4/qt-demo-init/qtdemo-init b/recipes/qt4/qt-demo-init/qtdemo-init
> > index ee84be2..affb958 100644
> > --- a/recipes/qt4/qt-demo-init/qtdemo-init
> > +++ b/recipes/qt4/qt-demo-init/qtdemo-init
> > @@ -3,7 +3,7 @@
> >  set -e
> >
> >  if [ -f /usr/bin/qtdemo ]; then
> > -     QTDEMO="qtdemo > /var/log/Xsession.log 2>&1"
> > +     QTDEMO="qtdemo > /var/log/Xsession.log 2> &1"
>
> What is wrong with this? Errors are sent to standard output and the
> version without space is the one I know too.
Busybox shell (installed by default) needs the space, while full bash
doesn't complain
in both versions.
Busybox complains with "sh: 2>: unknown operand" error if without space, while
the space version works without any issue.

Regards,

Alessandro


--
Alessandro Sappia
a.sappia at gmail.com




More information about the Openembedded-devel mailing list