undo last check in as it breaks borland with spaces some how

This commit is contained in:
Bill Hoffman 2004-10-22 21:03:56 -04:00
parent 5c26f29ed7
commit 9f98481a65
1 changed files with 3 additions and 6 deletions

View File

@ -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)
{