提交 dbbbbcab authored 作者: Michael Jerris's avatar Michael Jerris

fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@337 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 27d6790d
...@@ -101,6 +101,7 @@ End If ...@@ -101,6 +101,7 @@ End If
' ****************** ' ******************
If BuildCore Then If BuildCore Then
'http://www.sofaswitch.org/mikej/svnversion.zip
VersionCmd="svnversion " & quote & FreeswitchDir & "." & quote & " -n" VersionCmd="svnversion " & quote & FreeswitchDir & "." & quote & " -n"
Set MyFile = fso.CreateTextFile(UtilsDir & "tmpVersion.Bat", True) Set MyFile = fso.CreateTextFile(UtilsDir & "tmpVersion.Bat", True)
MyFile.WriteLine("@" & VersionCmd) MyFile.WriteLine("@" & VersionCmd)
...@@ -111,6 +112,7 @@ If BuildCore Then ...@@ -111,6 +112,7 @@ If BuildCore Then
VERSION=strFromProc VERSION=strFromProc
Loop While Not OExec.StdOut.atEndOfStream Loop While Not OExec.StdOut.atEndOfStream
sLastVersion = ""
Set fOrgFile = FSO.OpenTextFile(UtilsDir & "lastversion", ForReading, FailIfNotExist, OpenAsASCII) Set fOrgFile = FSO.OpenTextFile(UtilsDir & "lastversion", ForReading, FailIfNotExist, OpenAsASCII)
sLastVersion = fOrgFile.ReadLine() sLastVersion = fOrgFile.ReadLine()
fOrgFile.Close fOrgFile.Close
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论