From d1edd5f173ca29cc31bb01e0859e8bc73b8651ea Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Mon, 20 Oct 2003 19:07:58 +0000 Subject: [PATCH] - another unbound variable warning removed --- bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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