mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03: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
1 changed files with 3 additions and 0 deletions
|
|
@ -153,6 +153,9 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||||
|
|
||||||
for curfile in f:
|
for curfile in f:
|
||||||
|
|
||||||
|
if curfile in ['.DS_Store']:
|
||||||
|
continue
|
||||||
|
|
||||||
# Path (relative) to the file
|
# Path (relative) to the file
|
||||||
fp = os.path.join(r, curfile)
|
fp = os.path.join(r, curfile)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue