Commit cafd48a7 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

EHN: Even more cleanup

parent f38a28f0
......@@ -2164,7 +2164,13 @@ std::string cmCTest::GetShortPathToFile(const char* fname)
return fname;
}
cmSystemTools::ConvertToUnixSlashes(*res);
return "./" + *res;
std::string path = "./" + *res;
if ( path[path.size()-1] == '/' )
{
path = path.substr(0, path.size()-1);
}
return path;
}
std::string cmCTest::GetDartConfiguration(const char *name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment