Commit 29af444d authored by ita1024's avatar ita1024

Merge branch 'fix-buildcontext-detection' into 'master'

Fix detection of build context when a custom context is used

See merge request !2274
parents 62e2f7fd 6467070a
...@@ -123,7 +123,7 @@ def patch_execute(): ...@@ -123,7 +123,7 @@ def patch_execute():
""" """
Invoke clangdb command before build Invoke clangdb command before build
""" """
if type(self) == Build.BuildContext: if self.cmd.startswith('build'):
Scripting.run_command('clangdb') Scripting.run_command('clangdb')
old_execute_build(self) old_execute_build(self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment