Utils/Console: Replace mkdir() and link() DirectoryNode members by factories
[senf.git] / Examples / SConscript
index b8e2767..9ef20a0 100644 (file)
@@ -15,8 +15,8 @@ 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:
-        env.Clone(CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir).Execute([ '.$SCONS -C $EXAMPLEDIR -c' ])
+    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' ])
                     
 
 for dox in glob.glob("*/Doxyfile"):