aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-05 08:28:15 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-05 08:28:15 -0800
commit1355425a541dd905192590af77e1a55037d666e5 (patch)
tree826d305624aad4979e79e9b7bad84df80f5b181a
parent36411977b0840f1c9dd34cb053eb48991d42cf2b (diff)
downloadpaludis-1355425a541dd905192590af77e1a55037d666e5.tar.gz
paludis-1355425a541dd905192590af77e1a55037d666e5.tar.xz
build: correct the local variable
The variable was `phase` although `hook` was being used. Thanks to zlin and heirecka for tracking that down!
-rw-r--r--hooks/cmake_install.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/cmake_install.cmake.in b/hooks/cmake_install.cmake.in
index 2c392bf01..5705e25ae 100644
--- a/hooks/cmake_install.cmake.in
+++ b/hooks/cmake_install.cmake.in
@@ -130,9 +130,9 @@ foreach(phase
ebuild_killold_fail
ebuild_killold_post)
execute_process(COMMAND
- "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${hook}/.keep")
+ "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${phase}/.keep")
execute_process(COMMAND
- "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${hook}/.keep")
+ "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${phase}/.keep")
endforeach()
foreach(level einfo;ewarn;eerror;elog)
execute_process(COMMAND