1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/applications/misc/gammu/bashcomp-dir.patch

13 lines
530 B
Diff

diff -Naur gammu-1.33.0.orig/contrib/CMakeLists.txt gammu-1.33.0/contrib/CMakeLists.txt
--- gammu-1.33.0.orig/contrib/CMakeLists.txt 2013-12-26 20:56:22.887772110 +0100
+++ gammu-1.33.0/contrib/CMakeLists.txt 2013-12-26 20:57:04.386276037 +0100
@@ -85,7 +85,7 @@
if (INSTALL_BASH_COMPLETION)
install (
FILES bash-completion/gammu
- DESTINATION "/etc/bash_completion.d"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/bash_completion.d"
COMPONENT "bash"
)
endif (INSTALL_BASH_COMPLETION)