# HG changeset patch # User rubidium # Date 2007-11-26 23:28:29 # Node ID f76f5c0274bd1bb96b75b8735862767bd346b193 # Parent 47c553d8057396073ba2fd4342a94e62ea7c8998 (svn r11531) -Fix [FS#1459]: version determination did stall (read: never finish) when both svn and git were not installed. diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs --- a/projects/determineversion.vbs +++ b/projects/determineversion.vbs @@ -127,10 +127,7 @@ Function DetermineSVNVersion() ' svn detection failed, reset error and try git Err.Clear Set oExec = WshShell.Exec("git rev-parse --verify --short=8 HEAD") - Do While oExec.Status = 0 And Err.Number = 0 - ' Wait till command has finished - Loop - If Err.Number = 0 And oExec.ExitCode = 0 Then + If Err.Number = 0 Then version = "g" & oExec.StdOut.ReadLine() Set oExec = WshShell.Exec("git diff-index --exit-code --quiet HEAD ../src") Do While oExec.Status = 0 And Err.Number = 0