diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-08 21:33:39 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-08 21:33:39 (GMT) |
commit | e8affe5cc23ca560f4241362ec0f5d0ad5a6a455 (patch) | |
tree | 21554a1b2fc966e0600b3d2d2b3260113b3658d0 /Source/CPack/cmCPackSTGZGenerator.cxx | |
parent | 3d44b9a354edacff4b87ccf2a950ec698798591d (diff) | |
download | CMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.zip CMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.tar.gz CMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.tar.bz2 |
STYLE: Lots of formating to remove style problems
Diffstat (limited to 'Source/CPack/cmCPackSTGZGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackSTGZGenerator.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx index 4cce556..70deddc 100644 --- a/Source/CPack/cmCPackSTGZGenerator.cxx +++ b/Source/CPack/cmCPackSTGZGenerator.cxx @@ -43,21 +43,25 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os) << "#!/bin/sh" << std::endl << "echo \"" << this->GetOption("CPACK_PACKAGE_NAME") << " - self-extracting archive.\"" << std::endl - << "echo \"If you want to stop extracting, please press <ctrl-C>.\"" << std::endl + << "echo \"If you want to stop extracting, please press <ctrl-C>.\"" + << std::endl << "read line" << std::endl << "echo \"Extracting... Please wait...\"" << std::endl << "echo \"\"" << std::endl << "" << std::endl - << "# take the archive portion of this file and pipe it to tar" << std::endl - << "# the NUMERIC parameter in this command should be one more" << std::endl + << "# take the archive portion of this file and pipe it to tar" + << std::endl + << "# the NUMERIC parameter in this command should be one more" + << std::endl << "# than the number of lines in this header file" << std::endl << "tail +18 \"$0\" | gunzip | tar xf -" << std::endl << "" << std::endl << "exit 0" << std::endl << "echo \"\"" << std::endl - << "#-----------------------------------------------------------" << std::endl + << "#-----------------------------------------------------------" + << std::endl << "# Start of TAR.GZ file" << std::endl - << "#-----------------------------------------------------------" << std::endl; + << "#-----------------------------------------------------------" + << std::endl; return this->Superclass::GenerateHeader(os); } - |