summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-11 19:50:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-11 19:50:42 (GMT)
commitd3691460f54b79fb1929f084f5f784695ad2e6da (patch)
tree3a952a5dc5e0a2c29cffa467d6f72f8c3b47ae92 /Source/cmFileCommand.cxx
parentba2b99bb9ff5e260f3129fdb4f87ae7e67a08301 (diff)
downloadCMake-d3691460f54b79fb1929f084f5f784695ad2e6da.zip
CMake-d3691460f54b79fb1929f084f5f784695ad2e6da.tar.gz
CMake-d3691460f54b79fb1929f084f5f784695ad2e6da.tar.bz2
ENH: fix error message
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 0eb8f45..27c5e58 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -970,8 +970,8 @@ bool cmFileCommand::HandleRelativePathCommand(
if(!cmSystemTools::FileIsFullPath(fileName.c_str()))
{
std::string errstring =
- "RelativePath must be passed a full path to the directory: "
- + directoryName;
+ "RelativePath must be passed a full path to the file: "
+ + fileName;
this->SetError(errstring.c_str());
return false;
}