From: g0dil Date: Fri, 28 Aug 2009 10:29:54 +0000 (+0000) Subject: Fix senfutil.py errors X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=5096cff2e979d785a780871d1748e574c646bd09;p=senf.git Fix senfutil.py errors git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1350 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/site_scons/senfutil.py b/site_scons/senfutil.py index 61fb998..3fd7567 100644 --- a/site_scons/senfutil.py +++ b/site_scons/senfutil.py @@ -73,11 +73,11 @@ def SetupForSENF(env, senf_paths = []): ) # Interpret command line options - opts = Variables(ARGUMENTS) + opts = Variables(args=ARGUMENTS) opts.Add( 'LOGLEVELS', 'Special log levels. Syntax: |[]| ...', '${"$LOGLEVELS_"+(final and "final" or "debug")}' ) - opts.Add( BoolOption('final', 'Build final (optimized) build', False) ) - opts.Add( BoolOption('debug', 'Link in debug symbols', False) ) + opts.Add( BoolVariable('final', 'Build final (optimized) build', False) ) + opts.Add( BoolVariable('debug', 'Link in debug symbols', False) ) opts.Update(env) env.Replace(**dict(opts.UnknownVariables())) env.Help(opts.GenerateHelpText(env))