diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-09-03 22:22:45 +0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-06 16:37:01 +0100 |
commit | 012611872991e7bfe58becda767bec68a178427d (patch) | |
tree | 8ee7ff06ea27fc4640e8818aa1a81a9c506cf943 | |
parent | 4376a81af101d8661f8e5ac93a3b5f2f76ce5bbb (diff) | |
download | poky-012611872991e7bfe58becda767bec68a178427d.tar.gz |
qt-demo-init: fix init script
qt-demo-init initscript lacks some quotes, which makes it bave not fulle
correct. Fix that.
(From OE-Core rev: 84395cd31afd78a84d82a80297fe06f10406d57b)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init | 8 | ||||
-rw-r--r-- | 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 affb9589ea..0748fcd94c 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 | |||
14 | if [ -f /etc/profile.d/tslib.sh ]; then | 14 | if [ -f /etc/profile.d/tslib.sh ]; then |
15 | source /etc/profile.d/tslib.sh | 15 | source /etc/profile.d/tslib.sh |
16 | fi | 16 | fi |
17 | if [ -e $TSLIB_TSDEVICE ]; then | 17 | if [ -e "$TSLIB_TSDEVICE" ]; then |
18 | if [ ! -f /etc/pointercal ]; then | 18 | if [ ! -f /etc/pointercal ]; then |
19 | /usr/bin/ts_calibrate | 19 | /usr/bin/ts_calibrate |
20 | fi | 20 | fi |
21 | if [ $QTDEMO == qtdemo ]; then | 21 | if [ "$QTDEMO" == qtdemo ]; then |
22 | Xorg & | 22 | Xorg & |
23 | export DISPLAY=:0 | 23 | export DISPLAY=:0 |
24 | $QTDEMO & | 24 | $QTDEMO & |
@@ -26,7 +26,7 @@ case "$1" in | |||
26 | QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO & | 26 | QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO & |
27 | fi | 27 | fi |
28 | else | 28 | else |
29 | if [ $QTDEMO == qtdemo ]; then | 29 | if [ "$QTDEMO" == qtdemo ]; then |
30 | Xorg & | 30 | Xorg & |
31 | export DISPLAY=:0 | 31 | export DISPLAY=:0 |
32 | fi | 32 | fi |
@@ -35,7 +35,7 @@ case "$1" in | |||
35 | ;; | 35 | ;; |
36 | stop) | 36 | stop) |
37 | echo "Stopping qtdemo" | 37 | echo "Stopping qtdemo" |
38 | if [ $QTDEMO == qtdemo ]; then | 38 | if [ "$QTDEMO" == qtdemo ]; then |
39 | killall Xorg | 39 | killall Xorg |
40 | killall qtdemo | 40 | killall qtdemo |
41 | else | 41 | 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 8d0dd19227..0f089adeed 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 @@ | |||
1 | DESCRIPTION = "Init script for qtdemo" | 1 | DESCRIPTION = "Init script for qtdemo" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | SRC_URI = "file://qtdemo-init" | 3 | SRC_URI = "file://qtdemo-init" |
4 | PR = "r2" | 4 | PR = "r3" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |