1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-14 10:09:11 +00:00

(svn r22435) -Fix: Git revision detection would return too much when tags are involved.

This commit is contained in:
michi_cc
2011-05-07 15:13:52 +00:00
parent 6cbc7be92b
commit 28067c21d5
2 changed files with 4 additions and 1 deletions

View File

@@ -227,6 +227,9 @@ Function DetermineSVNVersion()
Loop
If oExec.ExitCode = 0 Then
version = oExec.StdOut.ReadLine()
If Right(version, 2) = "^0" Then
version = Left(version, Len(version) - 2)
End If
branch = ""
End If ' oExec.ExitCode = 0
End If ' Err.Number = 0