diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-08-02 15:46:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-06 12:39:53 +0100 |
commit | 3d6ffb7640df311dbc4431522783b56ec8f93d4d (patch) | |
tree | b9581fab43438ea4ba16c59c9768a770ad2472e1 /meta/recipes-qt/qt-demo/qt-demo-init | |
parent | d55d45873439c6eafa5dc33a5dd143cec93ef6d6 (diff) | |
download | 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/qt-demo/qt-demo-init')
-rw-r--r-- | meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init | 8 |
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 0748fcd94c..3a1f2cb1b2 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 | |||
12 | start) | 12 | start) |
13 | echo "Starting qtdemo" | 13 | echo "Starting qtdemo" |
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 | . /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 |