From 05a3f680f70c4b3987f78ec4e978409024ba6329 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Fri, 29 Jan 2021 14:38:24 -0500 Subject: [PATCH] Fix test failures due to binaries not found in PATH Test: rm `where deapexer` && mm otapackage Change-Id: I0b742f26ae984729b97bf796aa3ed9335b316369 --- tools/releasetools/apex_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 3177fa03a5..644b92a574 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -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):