From: Joshua Watt Date: Fri, 21 Oct 2022 14:53:11 +0000 (-0500) Subject: runqemu: Fix gl-es argument from causing other arguments to be ignored X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2743 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=718bb8d56f6a24c86e67830a7d13af54df2ebb4e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqemu: Fix gl-es argument from causing other arguments to be ignored The code to parse arguments was inadvertently skipping all arguments in the elif block after gl-es if it was specified on the command line. Signed-off-by: Joshua Watt Signed-off-by: Alexandre Belloni --- diff --git a/scripts/runqemu b/scripts/runqemu index 983f7514c75..189fc3da919 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -497,7 +497,7 @@ class BaseConfig(object): self.gtk = True elif arg == 'gl': self.gl = True - elif 'gl-es' in sys.argv[1:]: + elif arg == 'gl-es': self.gl_es = True elif arg == 'egl-headless': self.egl_headless = True