summaryrefslogtreecommitdiff
path: root/bash_completion.sh.in
diff options
context:
space:
mode:
authorDavid Paleino <dapal@debian.org>2011-05-02 18:56:14 +0200
committerDavid Paleino <dapal@debian.org>2011-05-02 18:56:14 +0200
commit88f9f46d81624302b4cf3e6bb20441cfd7ed2916 (patch)
tree6a3113ae1d8f9e202ae32655a66f2e5b34f60389 /bash_completion.sh.in
parentdaf29255f44f5bd7128088de626d41f7ba47e07c (diff)
downloadbash-completion-88f9f46d81624302b4cf3e6bb20441cfd7ed2916.tar.gz
Complete fix datadir → pkgdatadir
Diffstat (limited to 'bash_completion.sh.in')
-rw-r--r--bash_completion.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_completion.sh.in b/bash_completion.sh.in
index 8d781a1f..a0ad4876 100644
--- a/bash_completion.sh.in
+++ b/bash_completion.sh.in
@@ -4,9 +4,9 @@
# Check for recent enough version of bash.
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
if [ $bmajor -gt 4 ] || [ $bmajor -eq 4 -a $bminor -ge 1 ]; then
- if shopt -q progcomp && [ -r @sysconfdir@/bash_completion ]; then
+ if shopt -q progcomp && [ -r @pkgdatadir@/bash_completion ]; then
# Source completion code.
- . @sysconfdir@/bash_completion
+ . @pkgdatadir@/bash_completion
fi
fi
unset bash bmajor bminor