diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-09-24 01:24:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 01:24:20 +0200 |
commit | 0ed2708b4cc77b273906f2d06f5a3f8e47ee57f9 (patch) | |
tree | b5ff74f9f5de6c8bda867cd4667479f5bf29c7e1 /scripts/build/glob_recursive.py | |
parent | 005a8026bb424779a146e00cc48621ff1d72b807 (diff) | |
parent | 7b8415400fe90325905771a0a21dc1edb66b86c2 (diff) |
Merge pull request #26 from OpenVicProject/outsource/extras
Diffstat (limited to 'scripts/build/glob_recursive.py')
-rw-r--r-- | scripts/build/glob_recursive.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/build/glob_recursive.py b/scripts/build/glob_recursive.py deleted file mode 100644 index db6eb80..0000000 --- a/scripts/build/glob_recursive.py +++ /dev/null @@ -1,15 +0,0 @@ -def GlobRecursive(pattern, nodes=['.']): - import SCons - import glob - fs = SCons.Node.FS.get_default_fs() - Glob = fs.Glob - - results = [] - for node in nodes: - nnodes = [] - for f in Glob(str(node) + '/*', source=True): - if type(f) is SCons.Node.FS.Dir: - nnodes.append(f) - results += GlobRecursive(pattern, nnodes) - results += Glob(str(node) + '/' + pattern, source=True) - return results |