Forráskód Böngészése

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

Brad King 24 éve
szülő
commit
d1e05d738f
1 módosított fájl, 1 hozzáadás és 1 törlés
  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");