فهرست منبع

ENH: fix error message

Bill Hoffman 19 سال پیش
والد
کامیت
d3691460f5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Source/cmFileCommand.cxx

+ 2 - 2
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;
     }