diff options
author | KWSys Robot <kwrobot@kitware.com> | 2013-06-24 15:19:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-06-26 13:52:42 (GMT) |
commit | 045fc841173b97d8754d0dfd75322bd4919c19e6 (patch) | |
tree | c640d4c30e3ced5e1ce9279fabcd28653941e799 /SystemTools.cxx | |
parent | 6dc3dd91a62cdc52ec8bd2e938b621d7c5e6fb2b (diff) | |
download | CMake-045fc841173b97d8754d0dfd75322bd4919c19e6.zip CMake-045fc841173b97d8754d0dfd75322bd4919c19e6.tar.gz CMake-045fc841173b97d8754d0dfd75322bd4919c19e6.tar.bz2 |
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
Diffstat (limited to 'SystemTools.cxx')
-rw-r--r-- | SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx index 7891708..4d5af5e 100644 --- a/SystemTools.cxx +++ b/SystemTools.cxx @@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path) } if(SystemTools::FileExists(path)) { - return true; + return SystemTools::FileIsDirectory(path); } kwsys_stl::string dir = path; if(dir.size() == 0) |