You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.190
Former-commit-id: e193e16b440728be216d156a01a02450e7882323
This commit is contained in:
parent
dec0eff6dd
commit
b8f7d9129e
6
external/bockbuild/bockbuild/util/util.py
vendored
6
external/bockbuild/bockbuild/util/util.py
vendored
@@ -548,6 +548,12 @@ def iterate_dir(dir, with_links=False, with_dirs=False, summary=False):
|
||||
dirs = dirs + 1
|
||||
if with_dirs:
|
||||
yield root
|
||||
if with_dirs and with_links:
|
||||
for subdir in subdirs:
|
||||
path = os.path.join(root, subdir)
|
||||
if os.path.islink(path):
|
||||
links = links + 1
|
||||
yield path
|
||||
for file in filelist:
|
||||
path = os.path.join(root, file)
|
||||
if os.path.islink(path):
|
||||
|
||||
Reference in New Issue
Block a user