[Bash-completion-commits] [SCM] bash-completion branch, master, updated. aae256d7e05d1dc4847eff0eb8230edf7655f3d6

Ville Skyttä ville.skytta at iki.fi
Sun Jan 3 12:22:23 UTC 2010


The following commit has been merged in the master branch:
commit eab8d5afb899a8af2251cdf4881f60531ed82be6
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Jan 3 13:58:32 2010 +0200

    Substitute both occurrences of install path.

diff --git a/bash_completion.sh.in b/bash_completion.sh.in
index 2ea07f7..af6eb2c 100644
--- a/bash_completion.sh.in
+++ b/bash_completion.sh.in
@@ -3,7 +3,7 @@
 
 # Check for recent enough version of bash.
 bash=${BASH_VERSION%.*}; bmajor=${bash%.*}
-if [ $bmajor -ge 3 -a -r /etc/bash_completion ]; then
+if [ $bmajor -ge 3 -a -r @sysconfdir@/bash_completion ]; then
     # Source completion code.
     . @sysconfdir@/bash_completion
 fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list