Revert "move vipc to a prefix folder" (#581)

Revert "move vipc to a prefix folder (#580)"

This reverts commit 6712c46a90.
This commit is contained in:
Justin Newberry
2024-02-08 16:38:38 -05:00
committed by GitHub
parent 6712c46a90
commit 607d1f50cc

View File

@@ -25,7 +25,7 @@ std::string get_endpoint_name(std::string name, VisionStreamType type){
std::string get_ipc_path(const std::string& name) {
std::string path = "/tmp/";
if (char* prefix = std::getenv("OPENPILOT_PREFIX")) {
path += std::string(prefix) + "/";
path += std::string(prefix) + "_";
}
return path + "visionipc_" + name;
}