scons: wait on subprocess' completion
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 29 Jun 2017 16:21:44 +0000 (17:21 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Thu, 29 Jun 2017 16:38:26 +0000 (17:38 +0100)
commit9f6110ad327275fecc68248c1d6bd85f6b3d111c
tree470aa8004df8f0ea68650e7b9652f6bf6f96191b
parent3fd425aed764fb771f2f49ddb6b30b389a114504
scons: wait on subprocess' completion

Windows doesn't allow you to move a file that's opened, and Popen()
doesn't wait on its subprocess' completion before returning, which leads
to broken Windows build.

Fixes: 3fd425aed764fb771f2f "build systems: uniformize git_sha1.h generation"
Suggested-by: Scott D Phillips <scott.d.phillips@intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/SConscript