diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-22 21:03:56 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-22 21:03:56 -0400 |
commit | 9f98481a65dfb2b70f316dfecfebe722cdfc5de4 (patch) | |
tree | e82e73e8ac15eedcdf98dc36f4ec80030d4743d6 /Source/cmSystemTools.cxx | |
parent | 5c26f29ed78016ea8402c97634738e130e553689 (diff) | |
download | cmake-9f98481a65dfb2b70f316dfecfebe722cdfc5de4.tar.gz |
undo last check in as it breaks borland with spaces some how
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 18d9c28248..26ebdca93b 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -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) { |