From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Subject: [PATCH 3/3] qt-demo-init: fix init script
Date: Sat, 3 Sep 2011 22:22:45 +0400 [thread overview]
Message-ID: <1315074165-20137-3-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1315074165-20137-1-git-send-email-dbaryshkov@gmail.com>
qt-demo-init initscript lacks some quotes, which makes it bave not fulle
correct. Fix that.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init | 8 ++++----
meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init b/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init
index affb958..0748fcd 100644
--- a/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init
+++ b/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init
@@ -14,11 +14,11 @@ case "$1" in
if [ -f /etc/profile.d/tslib.sh ]; then
source /etc/profile.d/tslib.sh
fi
- if [ -e $TSLIB_TSDEVICE ]; then
+ if [ -e "$TSLIB_TSDEVICE" ]; then
if [ ! -f /etc/pointercal ]; then
/usr/bin/ts_calibrate
fi
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
Xorg &
export DISPLAY=:0
$QTDEMO &
@@ -26,7 +26,7 @@ case "$1" in
QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO &
fi
else
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
Xorg &
export DISPLAY=:0
fi
@@ -35,7 +35,7 @@ case "$1" in
;;
stop)
echo "Stopping qtdemo"
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
killall Xorg
killall qtdemo
else
diff --git a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb b/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
index 8d0dd19..0f089ad 100644
--- a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
+++ b/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Init script for qtdemo"
LICENSE = "MIT"
SRC_URI = "file://qtdemo-init"
-PR = "r2"
+PR = "r3"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
--
1.7.2.5
next prev parent reply other threads:[~2011-09-03 18:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 18:22 [PATCH 1/3] zaurusd: enable support for collie Dmitry Eremin-Solenikov
2011-09-03 18:22 ` [PATCH 2/3] icu-3.6: fix building with big make -j Dmitry Eremin-Solenikov
2011-09-05 19:39 ` Richard Purdie
2011-09-03 18:22 ` Dmitry Eremin-Solenikov [this message]
2011-09-05 19:38 ` [PATCH 3/3] qt-demo-init: fix init script Richard Purdie
2011-09-03 18:28 ` [PATCH 1/3] zaurusd: enable support for collie Koen Kooi
2011-09-03 19:04 ` Dmitry Eremin-Solenikov
2011-09-05 8:53 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1315074165-20137-3-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox