summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-23 01:03:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-23 01:03:56 (GMT)
commit9f98481a65dfb2b70f316dfecfebe722cdfc5de4 (patch)
treee82e73e8ac15eedcdf98dc36f4ec80030d4743d6 /Source
parent5c26f29ed78016ea8402c97634738e130e553689 (diff)
downloadCMake-9f98481a65dfb2b70f316dfecfebe722cdfc5de4.zip
CMake-9f98481a65dfb2b70f316dfecfebe722cdfc5de4.tar.gz
CMake-9f98481a65dfb2b70f316dfecfebe722cdfc5de4.tar.bz2
undo last check in as it breaks borland with spaces some how
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 18d9c28..26ebdca 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)
{