fix generateversion.vbs
now correctly generate Version names without wip
This commit is contained in:
parent
e268753438
commit
69640743c9
@ -69,6 +69,12 @@ If Err.Number = 0 Then
|
|||||||
f.Close
|
f.Close
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
' add a trailing . if needed
|
||||||
|
if Mid(label, len(label), 1) <> "." Then
|
||||||
|
label = label & "."
|
||||||
|
End If
|
||||||
|
'Wscript.Echo "label=" & label
|
||||||
|
|
||||||
If NeedWrite Then
|
If NeedWrite Then
|
||||||
Set f = FSO.OpenTextFile(versionfile, 2, True) ' 2 = Write
|
Set f = FSO.OpenTextFile(versionfile, 2, True) ' 2 = Write
|
||||||
f.WriteLine "char SVN_revision[]=" & Chr(34) & revision & Chr(34) & ";"
|
f.WriteLine "char SVN_revision[]=" & Chr(34) & revision & Chr(34) & ";"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user