port: Fix directory recursion

This commit is contained in:
FeRD (Frank Dana) 2022-10-18 20:49:16 +00:00
parent a8a209550b
commit d6c6a66c15

View file

@ -87,7 +87,7 @@ def listdir_recursive(subdir):
full = os.path.join(subdir, file)
if full == "./subprojects":
# skip the subprojects directory
return
continue
if os.path.isfile(full):
yield full
elif os.path.isdir(full):