mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 18:07:12 +01:00
Prevent installation tasks having postpone=False from running twice
This commit is contained in:
parent
1427497785
commit
140453a959
@ -1015,6 +1015,7 @@ class InstallContext(BuildContext):
|
||||
if tsk.runnable_status() == Task.ASK_LATER:
|
||||
raise self.WafError('cannot post the task %r' % tsk)
|
||||
tsk.run()
|
||||
tsk.hasrun = True
|
||||
|
||||
def install_files(self, dest, files, env=None, chmod=Utils.O644, relative_trick=False, cwd=None, add=True, postpone=True, task=None):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user