From d3691460f54b79fb1929f084f5f784695ad2e6da Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 11 May 2006 15:50:42 -0400 Subject: [PATCH] ENH: fix error message --- Source/cmFileCommand.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 0eb8f4555..27c5e58e1 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; }