Skip to content

Commit

Permalink
Use relative install path for gz bash completion data (#137)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Mar 28, 2024
1 parent 9fd89c3 commit b32a8dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)

0 comments on commit b32a8dd

Please sign in to comment.