summaryrefslogtreecommitdiffstats
path: root/Modules/CPackDeb.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-01 13:56:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-01 13:56:41 (GMT)
commitd00476610d830a0db96da26d6c87e33d36860120 (patch)
tree3a3498193404f347a98edf7413f12cc243c5253d /Modules/CPackDeb.cmake
parent225f7d1f69e18354501586a953e6d117133cf55e (diff)
downloadCMake-d00476610d830a0db96da26d6c87e33d36860120.zip
CMake-d00476610d830a0db96da26d6c87e33d36860120.tar.gz
CMake-d00476610d830a0db96da26d6c87e33d36860120.tar.bz2
ENH: remove trailing space
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r--Modules/CPackDeb.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index bf21172..fa18966 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -42,7 +42,9 @@ IF(NOT CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE i386)
ENDIF(NOT DPKG_CMD)
EXECUTE_PROCESS(COMMAND "${DPKG_CMD}" --print-architecture
- OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
+ OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
ENDIF(NOT CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
# have a look at GET_PROPERTY(result GLOBAL PROPERTY ENABLED_FEATURES),