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