Fix #7171: incorrect modified status with determineversion.vbs
This commit is contained in:
@@ -56,7 +56,7 @@ Function DetermineVersion()
|
|||||||
Set WshShell = CreateObject("WScript.Shell")
|
Set WshShell = CreateObject("WScript.Shell")
|
||||||
On Error Resume Next
|
On Error Resume Next
|
||||||
|
|
||||||
modified = 1
|
modified = 0
|
||||||
hash = ""
|
hash = ""
|
||||||
shorthash = ""
|
shorthash = ""
|
||||||
branch = ""
|
branch = ""
|
||||||
@@ -135,6 +135,7 @@ Function DetermineVersion()
|
|||||||
rev_file.Close()
|
rev_file.Close()
|
||||||
ElseIf hash = "" Then
|
ElseIf hash = "" Then
|
||||||
DetermineVersion = "norev000"
|
DetermineVersion = "norev000"
|
||||||
|
modified = 1
|
||||||
Else
|
Else
|
||||||
Dim version, hashprefix
|
Dim version, hashprefix
|
||||||
If modified = 0 Then
|
If modified = 0 Then
|
||||||
|
Reference in New Issue
Block a user