ソースを参照

Check if directory was actually created

Andy Cedilnik 23 年 前
コミット
8fd2ec6e91
1 ファイル変更4 行追加0 行削除
  1. 4 0
      Source/cmSystemTools.cxx

+ 4 - 0
Source/cmSystemTools.cxx

@@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path)
       return false;
       }
     }
+  if(!cmSystemTools::FileExists(path))
+    {
+    return false;
+    }
   return true;
 }