diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 22:56:09 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 22:56:09 (GMT) |
commit | 8fd2ec6e91da696202d218df7a3c0834d8c47626 (patch) | |
tree | 08d0769f0d4519b6ce33793b72f536a2a241239e /Source/cmSystemTools.cxx | |
parent | 396f916a428e52912117890185ae2cddb257b6a7 (diff) | |
download | CMake-8fd2ec6e91da696202d218df7a3c0834d8c47626.zip CMake-8fd2ec6e91da696202d218df7a3c0834d8c47626.tar.gz CMake-8fd2ec6e91da696202d218df7a3c0834d8c47626.tar.bz2 |
Check if directory was actually created
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 358edd0..32f69fc 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path) return false; } } + if(!cmSystemTools::FileExists(path)) + { + return false; + } return true; } |