From eaf25c6739a3d5c82d4e4e2059ed12a745560ec0 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 10 Feb 2004 15:53:09 -0500 Subject: ERR: Use filepath followed by filename not another filepath --- Source/cmCTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 5e538bf..2b3eda5 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -4388,7 +4388,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) failed.push_back(tryPath); std::string filepath = cmSystemTools::GetFilenamePath(m_TestCommand); std::string filename = cmSystemTools::GetFilenameName(m_TestCommand); - tryPath = filepath + "/" + m_ConfigType + "/" + filepath; + tryPath = filepath + "/" + m_ConfigType + "/" + filename; if ( cmSystemTools::FileExists(tryPath.c_str()) && !cmSystemTools::FileIsDirectory(tryPath.c_str()) ) { -- cgit v0.12