diff options
-rw-r--r-- | Source/cmCTest.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index fbe20fd..621b2af 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -3160,17 +3160,7 @@ int cmCTest::RunConfigurationScript() rename(srcDir, backupSrcDir.c_str()); rename(binDir, backupBinDir.c_str()); - // we must now checkout the src dir, first make the dir - if (!cmSystemTools::MakeDirectory(srcDir)) - { - cmSystemTools::Error("Unable to create the src directory"); - this->RestoreBackupDirectories(backup, srcDir, binDir, - backupSrcDir.c_str(), - backupBinDir.c_str()); - return 5; - } - - // then do the checkout + // we must now checkout the src dir output = ""; res = cmSystemTools::RunSingleCommand(cvsCheckOut, &output, &retVal, ctestRoot, |