[Bash-completion-commits] [bash-completion] 01/01: README: Don't hardcode /etc in cmake fallback dir

Ville Skyttä scop-guest at moszumanska.debian.org
Sun Feb 15 09:17:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 2c5efeec3a3b8cf29dd2f161935e786988d9dc36
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Feb 15 11:04:11 2015 +0200

    README: Don't hardcode /etc in cmake fallback dir
---
 README | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 78cde72..3113e4f 100644
--- a/README
+++ b/README
@@ -146,7 +146,8 @@ Q. I author/maintain package X and would like to maintain my own
        message(STATUS
          "Using bash completion dir ${BASH_COMPLETION_COMPLETIONSDIR}")
      else()
-       set (BASH_COMPLETION_COMPLETIONSDIR "/etc/bash_completion.d")
+       set (BASH_COMPLETION_COMPLETIONSDIR
+         "${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d")
        message (STATUS
          "Using fallback bash completion dir ${BASH_COMPLETION_COMPLETIONSDIR}")
      endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list