Convert src dir to full path (#21)

The asset stream manager requires a full path. With this CL, you can stream from e.g. ".".
This commit is contained in:
Lutz Justen
2022-11-25 12:01:29 +01:00
committed by GitHub
parent fac559b1be
commit 9d7eee35bd

View File

@@ -129,7 +129,7 @@ int main(int argc, char* argv[]) {
return 1; return 1;
} }
std::string src_dir = args[2]; std::string src_dir = cdc_ft::path::GetFullPath(args[2]);
std::string user_host, mount_dir; std::string user_host, mount_dir;
if (!ParseUserHostDir(args[3], &user_host, &mount_dir)) return 1; if (!ParseUserHostDir(args[3], &user_host, &mount_dir)) return 1;