Hello everyone,

I patched my Environment.py as attached to build the sketched example
using variantDirs.

This way I can use the code provided here:
http://stackoverflow.com/questions/11050211/use-a-glob-in-variantdir-einvironment-to-find-files-recursively-in-python

Best regards
Michael

-- 
Dipl.-Inf. Michael Lahnert
Simulation großer Systeme
Institut für Parallele und Verteilte Systeme, Universität Stuttgart
Universitätsstraße 38
70569 Stuttgart | Germany

Tel: +49 (0)711 685 88560
--- Environment.py	2015-01-30 09:26:20.498927174 +0100
+++ Environment.py.bak	2015-01-30 09:25:57.335592500 +0100
@@ -2077,8 +2077,8 @@
         else:
             return result[0]
 
-    def Glob(self, pattern, ondisk=True, source=False, strings=False, cwd=None):
-        return self.fs.Glob(self.subst(pattern), ondisk, source, strings, cwd)
+    def Glob(self, pattern, ondisk=True, source=False, strings=False):
+        return self.fs.Glob(self.subst(pattern), ondisk, source, strings)
 
     def Ignore(self, target, dependency):
         """Ignore a dependency."""

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to