summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackCygwinBinaryGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-13 01:54:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-13 01:54:27 (GMT)
commit042f4c334d854448852ede2a207e7e361e53c154 (patch)
treedfccab0829f6b90046b7719e3d07a0afd054429e /Source/CPack/cmCPackCygwinBinaryGenerator.cxx
parent5ab6c0f0ed39136bd778a6f982691e5142a7aceb (diff)
downloadCMake-042f4c334d854448852ede2a207e7e361e53c154.zip
CMake-042f4c334d854448852ede2a207e7e361e53c154.tar.gz
CMake-042f4c334d854448852ede2a207e7e361e53c154.tar.bz2
ENH: fix crash in cpack when CPACK_CYGWIN_PATCH_NUMBER not specified
Diffstat (limited to 'Source/CPack/cmCPackCygwinBinaryGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackCygwinBinaryGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackCygwinBinaryGenerator.cxx b/Source/CPack/cmCPackCygwinBinaryGenerator.cxx
index f6f51be..4f0eb46 100644
--- a/Source/CPack/cmCPackCygwinBinaryGenerator.cxx
+++ b/Source/CPack/cmCPackCygwinBinaryGenerator.cxx
@@ -106,7 +106,7 @@ const char* cmCPackCygwinBinaryGenerator::GetOutputExtension()
"CPACK_CYGWIN_PATCH_NUMBER not specified using 1"
<< std::endl);
}
- this->OutputExtension +=
+ this->OutputExtension += patchNumber;
this->OutputExtension += ".tar.bz2";
return this->OutputExtension.c_str();
}