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:
parent
87c7da03ee
commit
c94b0342ad
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user