Task.exec_command already sets the cwd, no need to repeat it

This commit is contained in:
Thomas Nagy 2016-06-16 17:08:53 +02:00
parent 092712f001
commit 27b2c3b8c4
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 0 additions and 5 deletions

View File

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

View File

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