1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

scanner: ignore .DS_Store files

They are binary and sometimes executable, so they trigger false
positives.
This commit is contained in:
Daniel Martí 2015-11-10 21:49:46 +01:00
parent 87c7da03ee
commit c94b0342ad

View File

@ -153,6 +153,9 @@ def scan_source(build_dir, root_dir, thisbuild):
for curfile in f:
if curfile in ['.DS_Store']:
continue
# Path (relative) to the file
fp = os.path.join(r, curfile)