summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-07-18 09:43:06 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-25 23:46:56 +0100
commit84dc6a5b277b977488a5dda39feeff3482dfafe3 (patch)
tree6ad5b86b62735d6d4dc54e4b3eb07cb1776a570d /meta/recipes-graphics/wayland
parent40627f5c334544178b056078da5e1d645ebd2a38 (diff)
downloadopenembedded-core-84dc6a5b277b977488a5dda39feeff3482dfafe3.tar.gz
openembedded-core-84dc6a5b277b977488a5dda39feeff3482dfafe3.tar.bz2
openembedded-core-84dc6a5b277b977488a5dda39feeff3482dfafe3.zip
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@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start5
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
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=$*