X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fplugins%2Fcodelite.py;h=81403219aaeae39205c8025c6f42037a5203e0b9;hb=08b11a3ad6e293343bfab98a7439a26079db5dea;hp=cff2c60791cb7c68c8f4cbcb1e71c90c8726dd7e;hpb=b0882263114dd5cc268ce701d5e48cc94ee9bf79;p=bertos.git diff --git a/wizard/plugins/codelite.py b/wizard/plugins/codelite.py index cff2c607..81403219 100644 --- a/wizard/plugins/codelite.py +++ b/wizard/plugins/codelite.py @@ -82,7 +82,12 @@ def findSources(path): if not path.endswith(os.sep): path += os.sep file_dict = {} - for root, dirs, files in os.walk(path): + # also follow all symlinks under POSIX OSes + if os.name == 'posix': + file_list = os.walk(path, followlinks=True) + else: + file_list = os.walk(path) + for root, dirs, files in file_list: if root.find("svn") == -1: file_dict[root.replace(path, "")] = {"dirs": [], "files": []} for dir in dirs: