missing install_path processing on bld.subst targets

This commit is contained in:
Thomas Nagy 2012-08-05 17:35:17 +02:00
parent 8096ba1be2
commit da45e165fb
1 changed files with 3 additions and 3 deletions

View File

@ -800,9 +800,9 @@ def process_subst(self):
if not has_constraints and b.name.endswith('.h'):
tsk.before = [k for k in ('c', 'cxx') if k in Task.classes]
inst_to = getattr(self, 'install_path', None)
if inst_to:
self.bld.install_files(inst_to, tgt, chmod=getattr(self, 'chmod', Utils.O644))
inst_to = getattr(self, 'install_path', None)
if inst_to:
self.bld.install_files(inst_to, b, chmod=getattr(self, 'chmod', Utils.O644))
self.source = []