forked from openkylin/platform_build
Merge change 20816
* changes: joeo here -- pesky findleaves.sh wasn't pruning directories.
This commit is contained in:
commit
3b55dfc9a7
|
@ -38,7 +38,7 @@ def perform_find(mindepth, prune, dirlist, filename):
|
||||||
if check_prune:
|
if check_prune:
|
||||||
i = 0
|
i = 0
|
||||||
while i < len(dirs):
|
while i < len(dirs):
|
||||||
if os.path.join(root, dirs[i]) in prune:
|
if dirs[i] in prune:
|
||||||
del dirs[i]
|
del dirs[i]
|
||||||
else:
|
else:
|
||||||
i += 1
|
i += 1
|
||||||
|
|
Loading…
Reference in New Issue