BUG: Revert back

This commit is contained in:
Andy Cedilnik 2006-01-05 10:37:05 -05:00
parent 51a3c204ef
commit 6ac0063af7
1 changed files with 2 additions and 5 deletions

View File

@ -73,14 +73,11 @@ int cmCPackPackageMakerGenerator::CompressFiles(const char* outFileName, const c
std::string tmpFile = this->GetOption("CPACK_TOPLEVEL_DIRECTORY"); std::string tmpFile = this->GetOption("CPACK_TOPLEVEL_DIRECTORY");
tmpFile += "/PackageMakerOutput.log"; tmpFile += "/PackageMakerOutput.log";
cmOStringStream pkgCmd; cmOStringStream pkgCmd;
/* pkgCmd << "\"" << this->GetOption("CPACK_INSTALLER_PROGRAM")
pkgCmd << "sh -c '\"" << this->GetOption("CPACK_INSTALLER_PROGRAM")
<< "\" -build -p \"" << packageDirFileName << "\" -f \"" << this->GetOption("CPACK_TEMPORARY_DIRECTORY") << "\" -build -p \"" << packageDirFileName << "\" -f \"" << this->GetOption("CPACK_TEMPORARY_DIRECTORY")
<< "\" -r \"" << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Resources\" -i \"" << "\" -r \"" << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Resources\" -i \""
<< this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Info.plist\" -d \"" << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Info.plist\" -d \""
<< this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Description.plist\"'"; << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Description.plist\"";
*/
pkgCmd << "/Users/kitware/Andy/CMake-CPack/foo.sh";
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Execute: " << pkgCmd.str().c_str() << std::endl); cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Execute: " << pkgCmd.str().c_str() << std::endl);
std::string output; std::string output;
int retVal = 1; int retVal = 1;