Follow symlinks in findleaves

If we replace the project directories with symlinks to the actual
directories, everything should build fine.  Unfortunately, without
this fix, it does not.

Change-Id: Id19fef9696d0f599a7b3a14b6a8fc10ae857f9c7
This commit is contained in:
Conley Owens 2012-08-24 16:24:45 -07:00
parent 713bac96d6
commit d8a3285797

View File

@ -28,7 +28,7 @@ def perform_find(mindepth, prune, dirlist, filename):
pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
for rootdir in dirlist:
rootdepth = rootdir.count("/")
for root, dirs, files in os.walk(rootdir):
for root, dirs, files in os.walk(rootdir, followlinks=True):
# prune
check_prune = False
for d in dirs: