summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-02 15:46:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 12:39:53 +0100
commit3d6ffb7640df311dbc4431522783b56ec8f93d4d (patch)
treeb9581fab43438ea4ba16c59c9768a770ad2472e1 /meta/recipes-qt
parentd55d45873439c6eafa5dc33a5dd143cec93ef6d6 (diff)
downloadast2050-yocto-poky-3d6ffb7640df311dbc4431522783b56ec8f93d4d.zip
ast2050-yocto-poky-3d6ffb7640df311dbc4431522783b56ec8f93d4d.tar.gz
qtdemo-init: fix bashism
(From OE-Core rev: 4758e71de8589bc85d317ee6abb187d563771633) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.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-init8
1 files changed, 4 insertions, 4 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 0748fcd..3a1f2cb 100644
--- a/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init
+++ b/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init
@@ -12,13 +12,13 @@ case "$1" in
start)
echo "Starting qtdemo"
if [ -f /etc/profile.d/tslib.sh ]; then
- source /etc/profile.d/tslib.sh
+ . /etc/profile.d/tslib.sh
fi
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
OpenPOWER on IntegriCloud