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).
This commit is contained in:
Domen Vrankar 2015-02-08 20:03:53 +01:00 committed by Brad King
parent cb01f15170
commit 3d99355b11
1 changed files with 1 additions and 1 deletions

View File

@ -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}")