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:
kichik 2006-11-27 17:49:30 +00:00
parent 652edcddf9
commit b56dfd5045

View file

@ -90,6 +90,8 @@ os.environ['CVSROOT'] = ':ext:%s@nsis.cvs.sourceforge.net:/cvsroot/nsis' % USER
CVS_TAG = 'v' + ''.join(VERSION.split('.'))
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
@ -228,9 +230,6 @@ def CreateSourceTarball():
)
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...'
run(