mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 17:00:12 +01:00
Also ignore .bzr when scanning
This commit is contained in:
parent
559ad9ef5b
commit
f79ded4a26
@ -1252,7 +1252,7 @@ def scan_source(build_dir, root_dir, thisbuild):
|
|||||||
# Iterate through all files in the source code
|
# Iterate through all files in the source code
|
||||||
for r,d,f in os.walk(build_dir):
|
for r,d,f in os.walk(build_dir):
|
||||||
|
|
||||||
if any(insidedir(r, igndir) for igndir in ('.hg', '.git', '.svn')):
|
if any(insidedir(r, d) for d in ('.hg', '.git', '.svn', '.bzr')):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for curfile in f:
|
for curfile in f:
|
||||||
|
Loading…
Reference in New Issue
Block a user