Merge pull request #46430 from kuruk-mm/fix_profile_type

SCons: Fix profile type. It is a string
This commit is contained in:
Rémi Verschelde 2021-02-26 07:44:50 +01:00 committed by GitHub
commit 1f702e35d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)