EHN: Even more cleanup
This commit is contained in:
parent
f38a28f044
commit
cafd48a7f2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue