mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-08 00:10:15 +03:00
dev-python/pyside: 6.10.1 handle empty NINJAOPTS
Do not pass a separator to pythons split to handle empty strings or extra
whitespace correctly.
Closes: https://bugs.gentoo.org/967989
Fixes: 23e0f39f78
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45170
Closes: https://github.com/gentoo/gentoo/pull/45170
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -13,7 +13,7 @@ index cdaa439ff..3e088961e 100644
|
||||
- if OPTION["JOBS"]:
|
||||
- cmd_make.append(OPTION["JOBS"])
|
||||
+ if self.make_generator == "Ninja":
|
||||
+ cmd_make.extend(os.getenv("NINJAOPTS").split(' '))
|
||||
+ cmd_make.extend(os.getenv("NINJAOPTS").split())
|
||||
if OPTION["LOG_LEVEL"] == LogLevel.VERBOSE and self.make_generator == "Ninja":
|
||||
cmd_make.append("-v")
|
||||
if run_process(cmd_make) != 0:
|
||||
|
||||
Reference in New Issue
Block a user