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:
parent
cb01f15170
commit
3d99355b11
|
@ -442,7 +442,7 @@ function(cpack_rpm_prepare_relocation_paths)
|
||||||
|
|
||||||
# set other path prefixes
|
# set other path prefixes
|
||||||
foreach(RELOCATION_PATH ${RPM_RELOCATION_PATHS})
|
foreach(RELOCATION_PATH ${RPM_RELOCATION_PATHS})
|
||||||
if(IS_ABSOLUTE "${RELOCATE_PATH}")
|
if(IS_ABSOLUTE "${RELOCATION_PATH}")
|
||||||
set(PREPARED_RELOCATION_PATH "${RELOCATION_PATH}")
|
set(PREPARED_RELOCATION_PATH "${RELOCATION_PATH}")
|
||||||
else()
|
else()
|
||||||
set(PREPARED_RELOCATION_PATH "${PATH_PREFIX}/${RELOCATION_PATH}")
|
set(PREPARED_RELOCATION_PATH "${PATH_PREFIX}/${RELOCATION_PATH}")
|
||||||
|
|
Loading…
Reference in New Issue