mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
SCons: Fix profile type. It is a string
(cherry picked from commit 42f6d7a401
)
This commit is contained in:
parent
2003a41f0f
commit
bdf335d369
@ -95,7 +95,7 @@ env_base.SConsignFile(".sconsign{0}.dblite".format(pickle.HIGHEST_PROTOCOL))
|
||||
|
||||
customs = ["custom.py"]
|
||||
|
||||
profile = methods.get_cmdline_bool("profile", False)
|
||||
profile = ARGUMENTS.get("profile", "")
|
||||
if profile:
|
||||
if os.path.isfile(profile):
|
||||
customs.append(profile)
|
||||
|
Loading…
Reference in New Issue
Block a user