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-05 20:38:15 +0100 |
commit | 84395cd31afd78a84d82a80297fe06f10406d57b (patch) | |
tree | e70874550bff82534614dbe89a455d5d599684fa /meta/recipes-qt | |
parent | 534dcaba0517ebfb6e48b6b436960a74e642a556 (diff) | |
download | openembedded-core-84395cd31afd78a84d82a80297fe06f10406d57b.tar.gz openembedded-core-84395cd31afd78a84d82a80297fe06f10406d57b.tar.bz2 openembedded-core-84395cd31afd78a84d82a80297fe06f10406d57b.zip |
qt-demo-init: fix init script
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt')
-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 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 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 @@ 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" |