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

Guillaume Rousse Guillaume.Rousse at inria.fr
Mon Aug 16 19:17:55 UTC 2010


The following commit has been merged in the master branch:
commit 9b97b40c4a646d847b52cf3eb19d0c1a1c1ee229
Author: Guillaume Rousse <Guillaume.Rousse at inria.fr>
Date:   Mon Aug 16 21:17:51 2010 +0200

    don't source Makefiles when run from test suite

diff --git a/bash_completion b/bash_completion
index ef00f05..cd717c5 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1625,7 +1625,7 @@ if [[ -d $BASH_COMPLETION_COMPAT_DIR && -r $BASH_COMPLETION_COMPAT_DIR && \
     -x $BASH_COMPLETION_COMPAT_DIR ]]; then
     for i in $(LC_ALL=C command ls "$BASH_COMPLETION_COMPAT_DIR"); do
         i=$BASH_COMPLETION_COMPAT_DIR/$i
-        [[ ${i##*/} != @(*~|*.bak|*.swp|\#*\#|*.dpkg*|*.rpm@(orig|new|save)) \
+        [[ ${i##*/} != @(*~|*.bak|*.swp|\#*\#|*.dpkg*|*.rpm@(orig|new|save)|Makefile*) \
             && ( -f $i || -h $i ) && -r $i ]] && . "$i"
     done
 fi
@@ -1634,7 +1634,7 @@ if [[ $BASH_COMPLETION_DIR != $BASH_COMPLETION_COMPAT_DIR && \
     -x $BASH_COMPLETION_DIR ]]; then
     for i in $(LC_ALL=C command ls "$BASH_COMPLETION_DIR"); do
         i=$BASH_COMPLETION_DIR/$i
-        [[ ${i##*/} != @(*~|*.bak|*.swp|\#*\#|*.dpkg*|*.rpm@(orig|new|save)) \
+        [[ ${i##*/} != @(*~|*.bak|*.swp|\#*\#|*.dpkg*|*.rpm@(orig|new|save)|Makefile*) \
             && ( -f $i || -h $i ) && -r $i ]] && . "$i"
     done
 fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list