Commit 6467070a authored by Morten V. Pedersen's avatar Morten V. Pedersen

Using suggested self.cmd.startswith approach

parent 23c53356
...@@ -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 isinstance(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