Fix test failures due to binaries not found in PATH

Test: rm `where deapexer` && mm otapackage

Change-Id: I0b742f26ae984729b97bf796aa3ed9335b316369
This commit is contained in:
Kelvin Zhang 2021-01-29 14:38:24 -05:00
parent 553efcaae2
commit 05a3f680f7
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ def GetApexInfoFromTargetFiles(input_file):
debugfs_path = os.path.join(OPTIONS.search_path, "bin", "debugfs_static")
deapexer = 'deapexer'
if OPTIONS.search_path:
deapexer_path = os.path.join(OPTIONS.search_path, "deapexer")
deapexer_path = os.path.join(OPTIONS.search_path, "bin", "deapexer")
if os.path.isfile(deapexer_path):
deapexer = deapexer_path
for apex_filename in os.listdir(target_dir):