3 @@ -117,7 +117,7 @@ OPTION(ENABLE_BASHCOMP "Install Bash autocompletions?" ON)
5 pkg_check_modules(BASHCOMP bash-completion)
7 - execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=completionsdir bash-completion OUTPUT_VARIABLE BASHCOMP_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
8 + SET(BASHCOMP_DIR "@BASHCOMP_DIR@")
9 message("Bash completion directory: ${BASHCOMP_DIR}")
10 INSTALL(FILES createrepo_c.bash DESTINATION ${BASHCOMP_DIR} RENAME createrepo_c)