Patchwork Corrected a typo in qtdemo-init script

login
register
mail settings
Submitter Alessandro Sappia
Date Jan. 22, 2011, 2:59 p.m.
Message ID <1295708387-28440-1-git-send-email-a.sappia@gmail.com>
Download mbox | patch
Permalink /patch/337/
State Accepted
Headers show

Comments

Alessandro Sappia - Jan. 22, 2011, 2:59 p.m.
Signed-off-by: Alessandro Sappia <a.sappia@gmail.com>
---
 recipes/qt4/qt-demo-init/qtdemo-init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Paul Menzel - Jan. 22, 2011, 3:09 p.m.
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].

> Signed-off-by: Alessandro Sappia <a.sappia@gmail.com>
> ---
>  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.

>  else
>  	QTDEMO="qtdemoE -qws"
>  fi


Thanks,

Paul


[1] http://wiki.openembedded.org/index.php/Commit_Policy

Patch

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"
 else
 	QTDEMO="qtdemoE -qws"
 fi