- another unbound variable warning removed
This commit is contained in:
parent
00ccdf4c92
commit
d1edd5f173
@ -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 <ian@caliban.org>
|
||||
#
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user