summaryrefslogtreecommitdiff
path: root/projects/determineversion.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'projects/determineversion.vbs')
-rwxr-xr-xprojects/determineversion.vbs2
1 files changed, 1 insertions, 1 deletions
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