fixed version numbering - always use what command line tells you to use (not 3.0.0)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6360 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1554dac424
commit
3f0107c995
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ if (not defenv.has_key('VER_PACKED')) and defenv.has_key('VER_MAJOR') and defenv
|
|||
if defenv.has_key('VER_PACKED'):
|
||||
f.write('#define NSIS_PACKEDVERSION _T("%s")\n' % defenv['VER_PACKED'])
|
||||
|
||||
if defenv.has_key('VER_MAJOR'):
|
||||
if defenv.has_key('VER_MAJOR') and not defenv.has_key('VERSION'):
|
||||
defenv['VERSION'] = defenv['VER_MAJOR']
|
||||
if defenv.has_key('VER_MINOR'):
|
||||
defenv['VERSION'] += '.' + defenv['VER_MINOR']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue