summaryrefslogtreecommitdiffstats
path: root/Source/cmw9xcom.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-30 17:59:01 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-30 17:59:01 (GMT)
commit67be746027179f6bad8cb1ff488f1f7a1a80b0b2 (patch)
treef896da18d7b8223f60bcab3e56a0d799322a423b /Source/cmw9xcom.cxx
parent1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec (diff)
downloadCMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.zip
CMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.tar.gz
CMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.tar.bz2
Add spaces
Diffstat (limited to 'Source/cmw9xcom.cxx')
-rw-r--r--Source/cmw9xcom.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmw9xcom.cxx b/Source/cmw9xcom.cxx
index 7ea9409..bf32430 100644
--- a/Source/cmw9xcom.cxx
+++ b/Source/cmw9xcom.cxx
@@ -25,10 +25,11 @@ int main (int argc, char *argv[])
std::cerr << "Usage: " << argv[0] << " executable" << std::endl;
return 1;
}
- std::string command;
+ std::string command = argv[1];
int cc;
- for ( cc = 1; cc < argc; cc ++ )
+ for ( cc = 2; cc < argc; cc ++ )
{
+ command += " ";
command += argv[cc];
}