[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1532/8267] weston-init: Fix weston-start to allow weston args without openvt args
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1532/8267] weston-init: Fix weston-start to allow weston args without openvt args
- Date: Sat, 16 Dec 2017 21:57:34 +0000 (UTC)
commit 9f7c1a5a99651154019f48baa0e75cdb217bd5cb
Author: Tom Hochstein <tom hochstein nxp com>
Date: Mon Jul 18 09:43:06 2016 -0500
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>
.../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 5b7604f..3508ae2 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=$*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]