diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-30 17:59:01 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-30 17:59:01 (GMT) |
commit | 67be746027179f6bad8cb1ff488f1f7a1a80b0b2 (patch) | |
tree | f896da18d7b8223f60bcab3e56a0d799322a423b /Source/cmw9xcom.cxx | |
parent | 1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec (diff) | |
download | CMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.zip CMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.tar.gz CMake-67be746027179f6bad8cb1ff488f1f7a1a80b0b2.tar.bz2 |
Add spaces
Diffstat (limited to 'Source/cmw9xcom.cxx')
-rw-r--r-- | Source/cmw9xcom.cxx | 5 |
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]; } |