From b32a8dd89ea8b5d9ba32cd964cb25f8aaab0ac51 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Thu, 28 Mar 2024 13:55:50 -0500 Subject: [PATCH] Use relative install path for gz bash completion data (#137) Signed-off-by: Addisu Z. Taddese --- etc/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt index 68392ff..ebc5454 100644 --- a/etc/CMakeLists.txt +++ b/etc/CMakeLists.txt @@ -7,7 +7,7 @@ configure_file( install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gz${PROJECT_MAJOR_VERSION}.completion DESTINATION - ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/gz) + ${CMAKE_INSTALL_DATAROOTDIR}/gz) configure_file( "gz.bash_completion.sh" @@ -16,4 +16,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gz${PROJECT_MAJOR_VERSION}.bash_completion.sh RENAME gz DESTINATION - ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions) + ${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions)