[oe-commits] [openembedded-core] 08/60: weston-init: Fix weston-start to allow weston args without openvt args
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 25 08:58:35 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 6d107e1e9a3827e9162b087a00fc1dedca49812e
Author: Tom Hochstein <tom.hochstein at nxp.com>
AuthorDate: 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>.
Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-graphics/wayland/weston-init/weston-start | 5 ++---
1 file 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=$*
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list