Use "(none)" instead of -1 for non-existent version information.

This commit is contained in:
/dev/urandom 2015-12-31 04:18:04 +01:00
parent 8f326eabe6
commit bf9e7f18ba
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -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'))