Fixed "verbose=False" being recognized as true error in SConstruct

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@583 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2008-09-20 10:21:33 +00:00
parent bdd86f3d5c
commit b69a707ceb
1 changed files with 6 additions and 6 deletions

View File

@ -121,17 +121,17 @@ env = Environment(
'HOME' : os.environ['HOME'] 'HOME' : os.environ['HOME']
}, },
BUILDERS = builders, BUILDERS = builders,
DESCRIPTION = description, DESCRIPTION = description,
SUMMARY=description, SUMMARY = description,
LICENSE = license, LICENSE = license,
NAME = name, NAME = name,
VERSION = version, VERSION = version,
) )
# verbose compile # verbose compile
verbose = ARGUMENTS.get('verbose', False) verbose = ARGUMENTS.get('verbose', False)
if not verbose: if not bool(verbose):
env['CCCOMSTR'] = "Compiling $TARGET" env['CCCOMSTR'] = "Compiling $TARGET"
env['CXXCOMSTR'] = "Compiling $TARGET" env['CXXCOMSTR'] = "Compiling $TARGET"
env['ARCOMSTR'] = " ar $TARGER" env['ARCOMSTR'] = " ar $TARGER"