Merge "check_target_vintf: Properly glob Vintf file list"

This commit is contained in:
Treehugger Robot
2022-02-18 09:22:16 +00:00
committed by Gerrit Code Review

View File

@@ -164,7 +164,7 @@ def GetVintfFileList():
"""
def PathToPatterns(path):
if path[-1] == '/':
path += '*'
path += '**'
# Loop over all the entries in DIR_SEARCH_PATHS and find one where the key
# is a prefix of path. In order to get find the correct prefix, sort the