Skip to content

Commit

Permalink
Fix host_bugreport when ANDROID_HOST_OUT is not set.
Browse files Browse the repository at this point in the history
- Command `host_bugreport` uses the ANDROID_HOST_OUT env variable to
  locate the `adb`, when the variable is not set, `cvd` uses the HOME
  value instead.
  • Loading branch information
ser-io committed Aug 6, 2024
1 parent 5e14cdc commit 214f842
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ CvdGenericCommandHandler::ExtractInfo(const RequestWithStdio& request) {
.args = cmd_args,
.envs = envs};
result.envs["HOME"] = home;
result.envs[kAndroidHostOut] = android_host_out;
extracted_info.invocation_info = result;
extracted_info.group = instance_group;
return extracted_info;
Expand Down

0 comments on commit 214f842

Please sign in to comment.