On Sun 16 Jan 2005 at 23:34:37 +0000, you wrote:
> Hello,
>
> On Sun, 2005-01-16 at 10:57 -0800, Ian Macdonald wrote:
> > I can't reproduce this here.
> >
> > Everything in your /etc/bash.bashrc is fine, so your
> > /etc/bash_completion must be at fault. Please e-mail me a copy.
> >
> > There's almost certainly something wrong with the code that checks for
> > which version of bash is installed, but it all works fine for me here.
>
> I've put echo statements in my /etc/bash_completion file and found where
> the problem is...
>
> Therefore the error is actually in the quilt package, it would seem.
> Please feel free to re-assign it. As it happens, the error is in, as
> you expected, version-checking code. The following is the last few
> lines of /etc/bash_completion.d/quilt:
>
> [ ${BASH_VERSINFO[0]} -gt 2 -o \
> ${BASH_VERSINFO[0]} = 2 -a ${BASH_VERSINFO[1]} -gt 04 ] \
> && _quilt_complete_opt="-o filenames"
> complete -F _quilt_completion $_quilt_complete_opt quilt
> unset -v _quilt_complete_opt
>
> It is trying to compare the minor version of bash to 04, which is
> causing the error.
>
> The interesting thing is that I have a friend who uses Sarge/i386 and he
> doesn't get this error (I'm using powerpc).
That version-checking code was copied from a very old version of the
bash completion project.
You can fix it by modifying the '-gt 04' part to read '> 04'.
Ian
--
Ian Macdonald | Home life as we understand it is no more
System Administrator | natural to us than a cage is to a cockatoo.
[EMAIL PROTECTED] | -- George Bernard Shaw
http://www.caliban.org |
|
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]