From 9f7c1a5a99651154019f48baa0e75cdb217bd5cb Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Mon, 18 Jul 2016 09:43:06 -0500 Subject: weston-init: Fix weston-start to allow weston args without openvt args The parser didn't properly handle commands of the form weston-start -- . (From OE-Core rev: 84dc6a5b277b977488a5dda39feeff3482dfafe3) Signed-off-by: Tom Hochstein Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init/weston-start | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta/recipes-graphics/wayland') 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 openvt_args="" while [ -n "$1" ]; do - openvt_args="$openvt_args $1" - shift - if [ "$1" = "--" ]; then shift break fi + openvt_args="$openvt_args $1" + shift done weston_args=$* -- cgit v1.2.3-54-g00ecf