X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;h=9ef20a073359a11d0a5e6c91b35c88952c7248be;hb=fd884ba2ba992b5032c0644ade77613074216767;hp=7350f38268d1efecc40ea74cead3e2657ca47cec;hpb=3a89de27838820f859f586854574b19eeca9a559;p=senf.git 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' ])