diff options
author | 2016-12-05 08:28:15 -0800 | |
---|---|---|
committer | 2016-12-05 08:28:15 -0800 | |
commit | 1355425a541dd905192590af77e1a55037d666e5 (patch) | |
tree | 826d305624aad4979e79e9b7bad84df80f5b181a | |
parent | 36411977b0840f1c9dd34cb053eb48991d42cf2b (diff) | |
download | paludis-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.in | 4 |
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 |