mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
scanner: skip symlinks to avoid issues
If they resolve to a missing file, we don't care about them. If they resolve to an existing file, we'll scan that file anyway.
This commit is contained in:
parent
b9b5b5d1b0
commit
b589595e45
1 changed files with 4 additions and 1 deletions
|
@ -140,8 +140,11 @@ def scan_source(build_dir, root_dir, thisbuild):
|
|||
|
||||
# Path (relative) to the file
|
||||
fp = os.path.join(r, curfile)
|
||||
fd = fp[len(build_dir) + 1:]
|
||||
|
||||
if os.path.islink(fp):
|
||||
continue
|
||||
|
||||
fd = fp[len(build_dir) + 1:]
|
||||
ext = common.get_extension(fd)
|
||||
|
||||
if ext == 'so':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue