Changeset - r19871:c3ebfcae0fbd
[Not reviewed]
master
0 1 0
glx - 12 years ago 2012-12-19 02:42:25
glx@openttd.org
(svn r24826) -Fix: determineversion.vbs could hang in a git checkout
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
projects/determineversion.vbs
Show inline comments
 
@@ -177,6 +177,9 @@ Function DetermineSVNVersion()
 
				' Make sure index is in sync with disk
 
				Set oExec = WshShell.Exec("git update-index --refresh")
 
				If Err.Number = 0 Then
 
					' StdOut and StdErr share a 4kB buffer so prevent it from filling up as we don't care about the output
 
					oExec.StdOut.Close
 
					oExec.StdErr.Close
 
					' Wait till the application is finished ...
 
					Do While oExec.Status = 0
 
						WScript.Sleep 10
0 comments (0 inline, 0 general)