mirror of https://gitlab.com/ita1024/waf.git
Task.exec_command already sets the cwd, no need to repeat it
This commit is contained in:
parent
092712f001
commit
27b2c3b8c4
|
@ -472,8 +472,6 @@ def exec_command_ifort(self, *k, **kw):
|
|||
env.update(PATH = ';'.join(self.env['PATH']))
|
||||
kw['env'] = env
|
||||
|
||||
if not 'cwd' in kw:
|
||||
kw['cwd'] = self.get_cwd()
|
||||
ret = super(self.__class__, self).exec_command(k[0], **kw)
|
||||
if not ret and getattr(self, 'do_manifest', None):
|
||||
ret = self.exec_mf()
|
||||
|
|
|
@ -1005,9 +1005,6 @@ def exec_command_msvc(self, *k, **kw):
|
|||
env.update(PATH = ';'.join(self.env['PATH']))
|
||||
kw['env'] = env
|
||||
|
||||
|
||||
if not 'cwd' in kw:
|
||||
kw['cwd'] = self.get_cwd()
|
||||
ret = super(self.__class__, self).exec_command(k[0], **kw)
|
||||
if not ret and getattr(self, 'do_manifest', None):
|
||||
ret = self.exec_mf()
|
||||
|
|
Loading…
Reference in New Issue