summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorMateo Kuruk Miccino <mateomiccino@gmail.com>2021-02-25 19:45:36 -0300
committerMateo Kuruk Miccino <mateomiccino@gmail.com>2021-02-25 19:45:36 -0300
commit42f6d7a4016709ba86da5b2674a95401981a771a (patch)
tree5d25a863b0189ab7fd1bae80a47fc25b5dbed408 /SConstruct
parent94f78f276b530d2ff0ed6735b346bb726cfb1e15 (diff)
downloadredot-engine-42f6d7a4016709ba86da5b2674a95401981a771a.tar.gz
SCons: Fix profile type. It is a string
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index ab4fe118c8..f03fb72ff3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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)