BUG: fix for 7426 bad check for cpack

This commit is contained in:
Bill Hoffman 2008-07-31 13:36:53 -04:00
parent e1ac9227a0
commit 45b9a2d575
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ int cmake::AddCMakePaths()
}
std::string cpackCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
"/cpack" + cmSystemTools::GetFilenameExtension(cMakeSelf);
if(cmSystemTools::FileExists(ctestCommand.c_str()))
if(cmSystemTools::FileExists(cpackCommand.c_str()))
{
this->CacheManager->AddCacheEntry
("CMAKE_CPACK_COMMAND", cpackCommand.c_str(),