mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c406e9acd7
commit
9f7c1a5a99
@@ -39,13 +39,12 @@ fi
|
|||||||
|
|
||||||
openvt_args=""
|
openvt_args=""
|
||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
openvt_args="$openvt_args $1"
|
|
||||||
shift
|
|
||||||
|
|
||||||
if [ "$1" = "--" ]; then
|
if [ "$1" = "--" ]; then
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
openvt_args="$openvt_args $1"
|
||||||
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
weston_args=$*
|
weston_args=$*
|
||||||
|
|||||||
Reference in New Issue
Block a user