Skip to content

Commit 66faa2b

Browse files
committed
Convert cvd create flags to absolute paths
1 parent b2067e1 commit 66faa2b

File tree

1 file changed

+2
-2
lines changed
  • base/cvd/cuttlefish/host/commands/cvd/cli/commands

1 file changed

+2
-2
lines changed

base/cvd/cuttlefish/host/commands/cvd/cli/commands/create.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ Result<cvd::Response> CvdCreateCommandHandler::Handle(
378378
"\nMaybe try `cvd fetch` or running `lunch "
379379
"<target>` to enable starting a CF device?");
380380
// CreationAnalyzer needs these to be set in the environment
381-
envs[kAndroidHostOut] = flags.host_path;
382-
envs[kAndroidProductOut] = flags.product_path;
381+
envs[kAndroidHostOut] = AbsolutePath(flags.host_path);
382+
envs[kAndroidProductOut] = AbsolutePath(flags.product_path);
383383
auto group = CF_EXPECT(
384384
GetOrCreateGroup(subcmd_args, envs, request, flags.acquire_file_locks));
385385

0 commit comments

Comments
 (0)