From 84395cd31afd78a84d82a80297fe06f10406d57b Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Sat, 3 Sep 2011 22:22:45 +0400 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/recipes-qt/qt-demo/qt-demo-init') 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 -- cgit 1.2.3-korg