summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackSTGZGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-04 20:14:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-04 20:14:09 (GMT)
commit5358809a5c1010739923b3bec22a63ba4fe2f657 (patch)
tree44ad9fbf6e731063a13b9871ee7712c35446e8cc /Source/CPack/cmCPackSTGZGenerator.cxx
parent0b40b42b0888857d770007bf7b7438f9291a67e5 (diff)
downloadCMake-5358809a5c1010739923b3bec22a63ba4fe2f657.zip
CMake-5358809a5c1010739923b3bec22a63ba4fe2f657.tar.gz
CMake-5358809a5c1010739923b3bec22a63ba4fe2f657.tar.bz2
ENH: More CPack stuff and fix zlib compression
Diffstat (limited to 'Source/CPack/cmCPackSTGZGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackSTGZGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx
index ca021a4..64e4b76 100644
--- a/Source/CPack/cmCPackSTGZGenerator.cxx
+++ b/Source/CPack/cmCPackSTGZGenerator.cxx
@@ -41,7 +41,7 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Writing header" << std::endl);
*os
<< "#!/bin/sh" << std::endl
- << "echo \"" << this->GetOption("ProjectName")
+ << "echo \"" << this->GetOption("CPACK_PACKAGE_NAME")
<< " - self-extracting archive.\"" << std::endl
<< "echo \"If you want to stop extracting, please press <ctrl-C>.\"" << std::endl
<< "read line" << std::endl
@@ -58,6 +58,6 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
<< "#-----------------------------------------------------------" << std::endl
<< "# Start of TAR.GZ file" << std::endl
<< "#-----------------------------------------------------------" << std::endl;
- return 1;
+ return this->Superclass::GenerateHeader(os);
}