globalize scons_line
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4833 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
652edcddf9
commit
b56dfd5045
1 changed files with 2 additions and 3 deletions
|
@ -90,6 +90,8 @@ os.environ['CVSROOT'] = ':ext:%s@nsis.cvs.sourceforge.net:/cvsroot/nsis' % USER
|
||||||
CVS_TAG = 'v' + ''.join(VERSION.split('.'))
|
CVS_TAG = 'v' + ''.join(VERSION.split('.'))
|
||||||
|
|
||||||
newverdir = 'nsis-%s-src' % VERSION
|
newverdir = 'nsis-%s-src' % VERSION
|
||||||
|
scons_line = 'scons -C %s VERSION=%s VER_MAJOR=%s VER_MINOR=%s VER_REVISION=%s VER_BUILD=%s ' \
|
||||||
|
% (newverdir, VERSION, VER_MAJOR, VER_MINOR, VER_REVISION, VER_BUILD)
|
||||||
|
|
||||||
### utility functions
|
### utility functions
|
||||||
|
|
||||||
|
@ -228,9 +230,6 @@ def CreateSourceTarball():
|
||||||
)
|
)
|
||||||
|
|
||||||
def BuildRelease():
|
def BuildRelease():
|
||||||
scons_line = 'scons -C %s VERSION=%s VER_MAJOR=%s VER_MINOR=%s VER_REVISION=%s VER_BUILD=%s ' \
|
|
||||||
% (newverdir, VERSION, VER_MAJOR, VER_MINOR, VER_REVISION, VER_BUILD)
|
|
||||||
|
|
||||||
print 'creating distribution files...'
|
print 'creating distribution files...'
|
||||||
|
|
||||||
run(
|
run(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue