(svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified
authorglx
Fri, 22 Aug 2008 15:15:11 +0000
changeset 9971 5f9aec5466d8
parent 9970 8608ca115990
child 9972 ec5617f4ae33
(svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified
projects/determineversion.vbs
--- a/projects/determineversion.vbs	Fri Aug 22 01:14:25 2008 +0000
+++ b/projects/determineversion.vbs	Fri Aug 22 15:15:11 2008 +0000
@@ -219,7 +219,7 @@
 				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