summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-02-08 19:03:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-10 14:41:37 (GMT)
commit3d99355b11b2509f4e16ddfd71373538410364e7 (patch)
tree7fc8382ce76bd724ba7bebfa28d09d819e8d6cc5 /Modules/CPackRPM.cmake
parentcb01f1517051b577d571e8fd21d210ef303f56c9 (diff)
downloadCMake-3d99355b11b2509f4e16ddfd71373538410364e7.zip
CMake-3d99355b11b2509f4e16ddfd71373538410364e7.tar.gz
CMake-3d99355b11b2509f4e16ddfd71373538410364e7.tar.bz2
CPackRPM: Fix recognition of absolute relocation paths
Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21).
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index 43e3fe0..214d655 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -442,7 +442,7 @@ function(cpack_rpm_prepare_relocation_paths)
# set other path prefixes
foreach(RELOCATION_PATH ${RPM_RELOCATION_PATHS})
- if(IS_ABSOLUTE "${RELOCATE_PATH}")
+ if(IS_ABSOLUTE "${RELOCATION_PATH}")
set(PREPARED_RELOCATION_PATH "${RELOCATION_PATH}")
else()
set(PREPARED_RELOCATION_PATH "${PATH_PREFIX}/${RELOCATION_PATH}")