From b56dfd50456f24248a8b9608d58db8d1979b5ce3 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 27 Nov 2006 17:49:30 +0000 Subject: [PATCH] globalize scons_line git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4833 212acab6-be3b-0410-9dea-997c60f758d6 --- Scripts/release.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Scripts/release.py b/Scripts/release.py index 3594b873..d51f44ce 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -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(