Explorar o código

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

Brad King %!s(int64=25) %!d(string=hai) anos
pai
achega
d1e05d738f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");