Rework path glob expansion

Slightly simplifies the whole thing and lets us map what each resulting path
comes from. This will be useful to fix #110 later on.
This commit is contained in:
Daniel Martí 2015-10-03 16:52:23 -07:00
parent 75bde83fb8
commit 59f5d19dfe
2 changed files with 19 additions and 8 deletions

View file

@ -72,8 +72,8 @@ def scan_source(build_dir, root_dir, thisbuild):
if r.match(s):
yield n
scanignore = common.getpaths(build_dir, thisbuild, 'scanignore')
scandelete = common.getpaths(build_dir, thisbuild, 'scandelete')
scanignore = common.getpaths(build_dir, thisbuild['scanignore'])
scandelete = common.getpaths(build_dir, thisbuild['scandelete'])
scanignore_worked = set()
scandelete_worked = set()