mirror of https://github.com/PrimeDecomp/prime.git
Fix missing space for wine argument, don't add devkitppc path if already specified
Former-commit-id: 23f62a2e12
This commit is contained in:
parent
3e7a5d012c
commit
35810ce759
|
@ -1142,7 +1142,7 @@ n.newline()
|
|||
n.comment("The arguments passed to configure.py, for rerunning it.")
|
||||
configure_args = sys.argv[1:]
|
||||
# Ignore DEVKITPPC env var on Windows
|
||||
if os.name != "nt" and "DEVKITPPC" in os.environ:
|
||||
if os.name != "nt" and "DEVKITPPC" in os.environ and not args.devkitppc:
|
||||
configure_args.extend(["--devkitppc", os.environ["DEVKITPPC"]])
|
||||
n.variable("configure_args", configure_args)
|
||||
n.newline()
|
||||
|
@ -1188,7 +1188,7 @@ else:
|
|||
# MSYS2
|
||||
n.variable("wine", "")
|
||||
elif args.wine:
|
||||
n.variable("wine", args.wine)
|
||||
n.variable("wine", args.wine + " ")
|
||||
elif which("wibo") is not None:
|
||||
n.variable("wine", "wibo ")
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue