diff options
author | David Cole <david.cole@kitware.com> | 2009-01-21 18:39:22 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-01-21 18:39:22 (GMT) |
commit | 36c228814b18ef115a1a72cac4f103691f249569 (patch) | |
tree | 8bcec68f08b0480ce329df9e0e28bf51b81af6ff /Source/CPack/cmCPackBundleGenerator.h | |
parent | 88a499c54c699c0893aee2736f22afbb457fbb41 (diff) | |
download | CMake-36c228814b18ef115a1a72cac4f103691f249569.zip CMake-36c228814b18ef115a1a72cac4f103691f249569.tar.gz CMake-36c228814b18ef115a1a72cac4f103691f249569.tar.bz2 |
BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
Diffstat (limited to 'Source/CPack/cmCPackBundleGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackBundleGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackBundleGenerator.h b/Source/CPack/cmCPackBundleGenerator.h index 9335fdd..2a794f3 100644 --- a/Source/CPack/cmCPackBundleGenerator.h +++ b/Source/CPack/cmCPackBundleGenerator.h @@ -41,7 +41,7 @@ protected: const std::vector<std::string>& files); bool CopyFile(cmOStringStream& source, cmOStringStream& target); - bool RunCommand(cmOStringStream& command); + bool RunCommand(cmOStringStream& command, std::string* output = 0); std::string InstallPrefix; }; |