From: g0dil Date: Tue, 19 Jan 2010 09:05:37 +0000 (+0000) Subject: Examples: Fix redundant rebuilds X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=bacc780a8740b4a74d6ff584b577fcb5f065e129 Examples: Fix redundant rebuilds git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1545 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Examples/SConscript b/Examples/SConscript index 7350f38..9ef20a0 100644 --- a/Examples/SConscript +++ b/Examples/SConscript @@ -15,7 +15,7 @@ for sconstruct in glob.glob("*/SConstruct"): [ '$SCONS -C $EXAMPLEDIR' ], CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir) env.Alias('examples', example) - if env.GetOption('clean') and 'all' in BUILD_TARGETS or 'examples' in BUILD_TARGETS: + if env.GetOption('clean') and ('all' in BUILD_TARGETS or 'examples' in BUILD_TARGETS): env.Clone(CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir).Execute([ '$SCONS -C $EXAMPLEDIR -c' ])