aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt-demo
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-02 15:46:49 +0800
committerSaul Wold <sgw@linux.intel.com>2013-08-05 23:59:53 -0700
commit4758e71de8589bc85d317ee6abb187d563771633 (patch)
treeb650ac1adb896f0288314a3b2d327f7e0029289c /meta/recipes-qt/qt-demo
parent0eb9dd29b89449e2b9a10bf57f34c09a8bed40bc (diff)
downloadopenembedded-core-contrib-4758e71de8589bc85d317ee6abb187d563771633.tar.gz
openembedded-core-contrib-4758e71de8589bc85d317ee6abb187d563771633.tar.bz2
openembedded-core-contrib-4758e71de8589bc85d317ee6abb187d563771633.zip
qtdemo-init: fix bashism
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-qt/qt-demo')
-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 0748fcd94c8..3a1f2cb1b2e 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