diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2016-07-18 09:43:06 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:26 +0100 |
commit | 9f7c1a5a99651154019f48baa0e75cdb217bd5cb (patch) | |
tree | d4e4d157c8a4291316fd92c08853fa3fe1a702fc /meta/recipes-graphics/wayland | |
parent | c406e9acd7af04b7f55478b62be649660fcd19e1 (diff) | |
download | poky-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-x | meta/recipes-graphics/wayland/weston-init/weston-start | 5 |
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 | ||
40 | openvt_args="" | 40 | openvt_args="" |
41 | while [ -n "$1" ]; do | 41 | while [ -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 | ||
49 | done | 48 | done |
50 | 49 | ||
51 | weston_args=$* | 50 | weston_args=$* |