From 5d3313a2ce7c333099b80691083557f2a4cdae79 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Mon, 11 Mar 2002 18:36:44 +0000 Subject: [PATCH] - check that $BASH_COMPLETION_DIR is actually a directory - update release to 20020311 --- bash_completion | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bash_completion b/bash_completion index 3fe35603..7bfe6b10 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.194 2002/03/11 18:38:17 ianmacd Exp $ +# $Id: bash_completion,v 1.195 2002/03/11 19:36:44 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# RELEASE: 20020306 +# RELEASE: 20020311 [ -n "$DEBUG" ] && set -v || set +v @@ -2566,7 +2566,8 @@ fi unset list[@] # source completion directory definitions -if [ -r $BASH_COMPLETION_DIR -a -x $BASH_COMPLETION_DIR ]; then +if [ -d $BASH_COMPLETION_DIR -a -r $BASH_COMPLETION_DIR -a \ + -x $BASH_COMPLETION_DIR ]; then for i in $BASH_COMPLETION_DIR/*; do [ -r $i ] && . $i done