1
0
Fork 0

Fix #7171: incorrect modified status with determineversion.vbs

pull/7173/head
glx 2019-02-03 19:42:53 +01:00 committed by glx22
parent de5614a4d8
commit bf5898018f
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ Function DetermineVersion()
Set WshShell = CreateObject("WScript.Shell")
On Error Resume Next
modified = 1
modified = 0
hash = ""
shorthash = ""
branch = ""
@ -135,6 +135,7 @@ Function DetermineVersion()
rev_file.Close()
ElseIf hash = "" Then
DetermineVersion = "norev000"
modified = 1
Else
Dim version, hashprefix
If modified = 0 Then