Use "(none)" instead of -1 for non-existent version information.
This commit is contained in:
parent
8f326eabe6
commit
bf9e7f18ba
@ -20,7 +20,7 @@ newaction {
|
||||
proc:close()
|
||||
|
||||
-- get old version number from version.hpp if any
|
||||
local oldRevNumber = -1
|
||||
local oldRevNumber = "(none)"
|
||||
local oldVersionHeader = io.open(wks.location .. "/version.hpp", "r")
|
||||
if oldVersionHeader ~=nil then
|
||||
local oldVersionHeaderContent = assert(oldVersionHeader:read('*a'))
|
||||
|
Loading…
Reference in New Issue
Block a user