forked from huawei/mindspore2022
add '/' when the MS_RDR_PATH does not end with '/'
This commit is contained in:
parent
8e126e3254
commit
7feb309e06
|
|
@ -104,6 +104,9 @@ void EnvConfigParser::ParseFromEnv() {
|
|||
has_rdr_setting_ = true;
|
||||
std::string path = path_env.value();
|
||||
if (!path.empty()) {
|
||||
if (path.back() != '/') {
|
||||
path += '/';
|
||||
}
|
||||
rdr_path_ = path;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue