From 1703595861663b414c7c8cd9d90b6f5034fc0cc3 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 22 Aug 2008 15:15:11 +0000 Subject: (svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified --- projects/determineversion.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects') diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs index 3fb7e6a6e..896d3e5e0 100755 --- a/projects/determineversion.vbs +++ b/projects/determineversion.vbs @@ -219,7 +219,7 @@ Function DetermineSVNVersion() If Err.Number = 0 Then Do line = OExec.StdOut.ReadLine() - If Mid(line, 1, 1) <> "?" Then + If Len(line) > 0 And Mid(line, 1, 1) <> "?" Then version = version & "M" Exit Do End If -- cgit v1.2.3-70-g09d2