BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory
This commit is contained in:
parent
a2949c204d
commit
32ccf38c58
|
@ -235,15 +235,9 @@ const char* SystemTools::GetExecutableExtension()
|
|||
|
||||
bool SystemTools::MakeDirectory(const char* path)
|
||||
{
|
||||
if(SystemTools::FileIsDirectory(path))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Do not make a directory on top of a file.
|
||||
if(SystemTools::FileExists(path))
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
kwsys_stl::string dir = path;
|
||||
if(dir.size() == 0)
|
||||
|
|
Loading…
Reference in New Issue