undo last check in as it breaks borland with spaces some how
This commit is contained in:
parent
5c26f29ed7
commit
9f98481a65
|
@ -426,18 +426,15 @@ bool cmSystemTools::RunSingleCommand(
|
|||
{
|
||||
verbose = false;
|
||||
}
|
||||
std::string argsTemp;
|
||||
std::string program;
|
||||
cmSystemTools::SplitProgramFromArgs(command, program, argsTemp);
|
||||
std::vector<cmStdString> args = cmSystemTools::ParseArguments(argsTemp.c_str());
|
||||
|
||||
if(program.size() < 1)
|
||||
std::vector<cmStdString> args = cmSystemTools::ParseArguments(command);
|
||||
|
||||
if(args.size() < 1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<const char*> argv;
|
||||
argv.push_back(program.c_str());
|
||||
for(std::vector<cmStdString>::const_iterator a = args.begin();
|
||||
a != args.end(); ++a)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue