From: g0dil Date: Wed, 11 Aug 2010 12:18:55 +0000 (+0000) Subject: senfutil: collect command-line variable settings in ARGUMENT_VARIABLES X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=1fbaa427fb92ce542ef776881f950f0e9d67c982;p=senf.git senfutil: collect command-line variable settings in ARGUMENT_VARIABLES git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1673 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/site_scons/senfutil.py b/site_scons/senfutil.py index def4697..f323254 100644 --- a/site_scons/senfutil.py +++ b/site_scons/senfutil.py @@ -114,11 +114,14 @@ Special command line parameters: env.Help(vars.GenerateHelpText(env)) try : unknv = vars.UnknownVariables() except AttributeError: unknv = vars.UnknownOptions() + env.SetDefault(ARGUMENT_VARIABLES = {}) for k,v in unknv.iteritems(): if k.endswith('+'): env.Append(**{k[:-1]: v}) + env.Append(ARGUMENT_VARIABLES = {k[:-1]:v}) else: env.Replace(**{k: v}) + env.Append(ARGUMENT_VARIABLES = {k:v}) ###########################################################################