mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
12 lines
615 B
Diff
12 lines
615 B
Diff
--- createrepo_c-0.10.0-src.orig/CMakeLists.txt 2017-03-19 11:01:02.703173617 +0100
|
|
+++ createrepo_c-0.10.0-src/CMakeLists.txt 2017-03-19 11:02:38.617448248 +0100
|
|
@@ -100,7 +100,7 @@
|
|
|
|
pkg_check_modules(BASHCOMP bash-completion)
|
|
if (BASHCOMP_FOUND)
|
|
- execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=completionsdir bash-completion OUTPUT_VARIABLE BASHCOMP_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
+ SET(BASHCOMP_DIR "@BASHCOMP_DIR@")
|
|
message("Bash completion directory: ${BASHCOMP_DIR}")
|
|
INSTALL(FILES createrepo_c.bash DESTINATION ${BASHCOMP_DIR} RENAME createrepo_c)
|
|
INSTALL(CODE "
|