summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-05-24 18:34:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-05-24 18:34:46 (GMT)
commit14a6bda1a248ae5a7926d8bf25ce3faa37c2df91 (patch)
treecc55f91244927926ef4f55ee070cb22a99bc8c58 /Modules
parent1605784f470c46062e166abdf8a1c634068a53c4 (diff)
parentdb45b10ff7b977569ee0f9a01b790aa67da3f639 (diff)
downloadCMake-14a6bda1a248ae5a7926d8bf25ce3faa37c2df91.zip
CMake-14a6bda1a248ae5a7926d8bf25ce3faa37c2df91.tar.gz
CMake-14a6bda1a248ae5a7926d8bf25ce3faa37c2df91.tar.bz2
Merge topic 'CPackRPM-fixForAIX'
db45b10 CPack make RPM work on AIX. fix #0012183 merge patch from Pasi Valminen
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackRPM.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index d9d074c..b711bc2 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -489,9 +489,9 @@ ENDIF(CPACK_RPM_PACKAGE_COMPONENT)
# file name by enclosing it between double quotes (thus the sed)
# Then we must authorize any man pages extension (adding * at the end)
# because rpmbuild may automatically compress those files
-EXECUTE_PROCESS(COMMAND find -type f -o -type l
- COMMAND sed {s:.*/man.*/.*:&*:}
- COMMAND sed {s/\\.\\\(.*\\\)/\"\\1\"/}
+EXECUTE_PROCESS(COMMAND find . -type f -o -type l
+ COMMAND sed s:.*/man.*/.*:&*:
+ COMMAND sed s/\\.\\\(.*\\\)/\"\\1\"/
WORKING_DIRECTORY "${WDIR}"
OUTPUT_VARIABLE CPACK_RPM_INSTALL_FILES)