mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-18 13:39:55 -04:00
scanner: ignore .DS_Store files
They are binary and sometimes executable, so they trigger false positives.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user