summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index c9e7dfc..cca171e 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1894,7 +1894,7 @@ int cmCTest::ReadCustomConfigurationFileTree(const char* dir)
std::string rexpr = dir;
rexpr += "/CTestCustom.ctest";
- if ( !found && cmSystemTools::FileExists(fname.c_str()) )
+ if ( !found && cmSystemTools::FileExists(rexpr.c_str()) )
{
cmsys::Glob gl;
gl.RecurseOn();