summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-07-18 09:43:06 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-26 08:56:26 +0100
commit9f7c1a5a99651154019f48baa0e75cdb217bd5cb (patch)
treed4e4d157c8a4291316fd92c08853fa3fe1a702fc /meta/recipes-graphics/wayland
parentc406e9acd7af04b7f55478b62be649660fcd19e1 (diff)
downloadpoky-9f7c1a5a99651154019f48baa0e75cdb217bd5cb.tar.gz
weston-init: Fix weston-start to allow weston args without openvt args
The parser didn't properly handle commands of the form weston-start -- <weston-options>. (From OE-Core rev: 84dc6a5b277b977488a5dda39feeff3482dfafe3) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index 5b7604f930..3508ae2c33 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -39,13 +39,12 @@ fi
39 39
40openvt_args="" 40openvt_args=""
41while [ -n "$1" ]; do 41while [ -n "$1" ]; do
42 openvt_args="$openvt_args $1"
43 shift
44
45 if [ "$1" = "--" ]; then 42 if [ "$1" = "--" ]; then
46 shift 43 shift
47 break 44 break
48 fi 45 fi
46 openvt_args="$openvt_args $1"
47 shift
49done 48done
50 49
51weston_args=$* 50weston_args=$*