aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 5e1171b5246..c31e4ec06fa 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -26,7 +26,7 @@ def write_git_sha1_h_file(filename):
with open(tempfile, "w") as f:
args = [ 'sh', Dir('#').abspath + '/git_sha1_gen.sh' ]
try:
- subprocess.Popen(args, stdout=f)
+ subprocess.Popen(args, stdout=f).wait()
except:
print "Warning: exception in write_git_sha1_h_file()"
return