diff options
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); } - |