提交 dbe70136 编写于 作者: fengqikai1414's avatar fengqikai1414 提交者: Liangliang Zhang

cybertron: set default CYBERTRON_PATH

上级 4c5b276d
......@@ -39,7 +39,10 @@ inline const std::string WorkRoot() {
std::string work_root = GetEnv("CYBERTRON_PATH");
// ensure variable CYBERTRON_PATH has been set.
// TODO(fengkaiwen01) need a better error handling mechanism
assert(!work_root.empty());
// assert(!work_root.empty());
if (work_root.empty()) {
work_root = "/apollo/framework/install";
}
return work_root;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册