- fix another unset variable warning in CVS completion

This commit is contained in:
ianmacd 2003-03-29 07:29:49 +00:00
parent 357cd7f215
commit 5acefc343c

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.538 2003/03/27 09:07:11 ianmacd Exp $
# $Id: bash_completion,v 1.539 2003/03/29 08:29:49 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -1102,7 +1102,7 @@ _cvs()
;;
esac
elif [[ "$i" = -* ]]; then
flags=( ${flags[@]} $i )
flags=( ${flags[@]:-} $i )
fi
count=$((++count))
done