biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / package-management / createrepo_c / fix-bash-completion-path.patch
blob2539ec5d338dc66901bfe4dab206f4ed6beb8519
1 --- a/CMakeLists.txt
2 +++ b/CMakeLists.txt
3 @@ -117,7 +117,7 @@ OPTION(ENABLE_BASHCOMP "Install Bash autocompletions?" ON)
4 IF (ENABLE_BASHCOMP)
5 pkg_check_modules(BASHCOMP bash-completion)
6 IF (BASHCOMP_FOUND)
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)
11 INSTALL(CODE "