2
0
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:
Thomas Nagy 2015-07-07 20:58:58 +02:00
parent 1427497785
commit 140453a959
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -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):
"""