From: Tom Hochstein Date: Mon, 18 Jul 2016 14:43:06 +0000 (-0500) Subject: weston-init: Fix weston-start to allow weston args without openvt args X-Git-Tag: uninative-1.3~217 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=84dc6a5b277b977488a5dda39feeff3482dfafe3;p=openembedded-core.git weston-init: Fix weston-start to allow weston args without openvt args The parser didn't properly handle commands of the form weston-start -- . Signed-off-by: Tom Hochstein Signed-off-by: Ross Burton --- 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=$*