浏览代码

ERR: Added double-quotes around command name before arguments are appended.

Brad King 25 年之前
父节点
当前提交
d1e05d738f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmCablePackageCommand.cxx

+ 1 - 1
Source/cmCablePackageCommand.cxx

@@ -62,7 +62,7 @@ bool cmCablePackageCommand::Invoke(std::vector<std::string>& args)
   m_Makefile->ExpandVariablesInString(command);
   std::vector<std::string> depends;
   depends.push_back(command);
-  command += " cable_config.xml";
+  command = "\""+command+"\" cable_config.xml";
   
   std::vector<std::string> outputs;
   outputs.push_back("Cxx/"+m_PackageName+"_cxx.cxx");