mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-22 14:41:05 -06:00
KWSys 2013-06-24 (3d1d4e7c)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ 3d1d4e7c | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' d79a792e..3d1d4e7c
Cory Quammen (1):
3d1d4e7c SystemTools: MakeDirectory() reports failure if path is file
Change-Id: I080ed62630304c63c65efaf4be08198a6411ae48
This commit is contained in:
@@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path)
|
|||||||
}
|
}
|
||||||
if(SystemTools::FileExists(path))
|
if(SystemTools::FileExists(path))
|
||||||
{
|
{
|
||||||
return true;
|
return SystemTools::FileIsDirectory(path);
|
||||||
}
|
}
|
||||||
kwsys_stl::string dir = path;
|
kwsys_stl::string dir = path;
|
||||||
if(dir.size() == 0)
|
if(dir.size() == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user