summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-08-14 09:28:03 +0000
committerterkhen <terkhen@openttd.org>2010-08-14 09:28:03 +0000
commitb416e7266f535f006edca9cb52a6d074252b0766 (patch)
tree97abbe02fbff19d5a39e9d8138910d036f56c511
parent33dccfd5cf1593bfbe29ef3e8da026a801f5c31f (diff)
downloadopenttd-b416e7266f535f006edca9cb52a6d074252b0766.tar.xz
(svn r20488) -Fix [FS#4029]: Version detection for MSVC using mercurial failed (Hirundo).
-rwxr-xr-xprojects/determineversion.vbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs
index fa4109244..98e4e8322 100755
--- a/projects/determineversion.vbs
+++ b/projects/determineversion.vbs
@@ -249,7 +249,7 @@ Function DetermineSVNVersion()
End If ' line <> "default"
End If ' Err.Number = 0
- Set oExec = WshShell.Exec("hg log -f -k " & Chr(34) & "(svn r" & Chr(34) & " -l 1 --template " & Chr(34) & "{desc}\n" & Chr(34) & " ../")
+ Set oExec = WshShell.Exec("hg log -f -k " & Chr(34) & "(svn r" & Chr(34) & " -l 1 --template " & Chr(34) & "{desc}\n" & Chr(34) & " --cwd ../")
If Err.Number = 0 Then
revision = Mid(OExec.StdOut.ReadLine(), 7)
revision = Mid(revision, 1, InStr(revision, ")") - 1)