premake5: Fix typo.

This commit is contained in:
/dev/urandom 2016-01-03 14:57:24 +01:00
parent d8e1822c70
commit 03e5adfdaf
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -25,7 +25,7 @@ newaction {
if oldVersionHeader ~=nil then if oldVersionHeader ~=nil then
local oldVersionHeaderContent = assert(oldVersionHeader:read('*a')) local oldVersionHeaderContent = assert(oldVersionHeader:read('*a'))
oldRevNumber = string.match(oldVersionHeaderContent, "#define REVISION (%d+)") oldRevNumber = string.match(oldVersionHeaderContent, "#define REVISION (%d+)")
if oldRevNumber = nil then if oldRevNumber == nil then
-- old version.hpp format? -- old version.hpp format?
oldRevNumber = "(none)" oldRevNumber = "(none)"
end end