mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
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:
parent
75bde83fb8
commit
59f5d19dfe
2 changed files with 19 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue