diff --git a/bash_completion b/bash_completion index 2af76cd8..f455992a 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05b # -# $Id: bash_completion,v 1.642 2003/10/20 21:05:20 ianmacd Exp $ +# $Id: bash_completion,v 1.643 2003/10/20 21:07:58 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -28,7 +28,7 @@ # Alter the following to reflect the location of this file # -if [ -n "$FUNCNAME" ]; then +if [ -n "${FUNCNAME:-}" ]; then # we're being sourced from within a function, so we can't use # 'declare', as this will create local variables within a function BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} 2>/dev/null