diff options
author | Conley Owens <cco3@android.com> | 2012-08-24 16:24:45 -0700 |
---|---|---|
committer | Conley Owens <cco3@android.com> | 2012-08-24 16:24:45 -0700 |
commit | d8a328579786a18ff54b878646b9f9ef8033d8c6 (patch) | |
tree | 05f0cb2f9b1c4507819d626e5234006003ce9554 /tools/findleaves.py | |
parent | 713bac96d628d6ca040fb1fe5d7a8abdcb932553 (diff) | |
download | build-d8a328579786a18ff54b878646b9f9ef8033d8c6.zip build-d8a328579786a18ff54b878646b9f9ef8033d8c6.tar.gz build-d8a328579786a18ff54b878646b9f9ef8033d8c6.tar.bz2 |
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
Diffstat (limited to 'tools/findleaves.py')
-rwxr-xr-x | tools/findleaves.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/findleaves.py b/tools/findleaves.py index 52c4d9f..3a9e508 100755 --- a/tools/findleaves.py +++ b/tools/findleaves.py @@ -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: |