Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] bash-4.0-r1 for ~arch
Date: Tue, 03 Mar 2009 06:27:30
Message-Id: 200903030127.27075.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] bash-4.0-r1 for ~arch by Donnie Berkholz
1 On Monday 02 March 2009 22:56:27 Donnie Berkholz wrote:
2 > On 19:27 Mon 02 Mar , Mike Frysinger wrote:
3 > > unless i see any new issues come up, bash-4.0-r1 will be going into ~arch
4 > > this week. now would be a good time to sync up and try bash-4.0 on your
5 > > system :p. -mike
6 >
7 > comet $ source /usr/share/bash-completion/genkernel
8 > -bash: /usr/share/bash-completion/genkernel: line 50: unexpected EOF while
9 > looking for matching `)' -bash: /usr/share/bash-completion/genkernel: line
10 > 74: syntax error: unexpected end of file
11 >
12 > 50 args=( $(case $args in
13 > 55 (*) compgen -o bashdefault -- "$rhs" ;; # punt
14 > 56 esac) )
15
16 comments in subshelled case statements is causing the problem. drop the '#
17 punt' and it's fine.
18
19 > Actually seems like quite a few of the bash-completion scripts have
20 > issues with 4.0 ... might want to just run through those.
21
22 i dont use bash completion so i dont have any actually installed. run `bash -
23 n` on each one on your system and let me know which ones result in errors.
24 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: bash-4.0-r1 for ~arch ABCD <en.ABCD@×××××.com>
Re: [gentoo-dev] bash-4.0-r1 for ~arch Donnie Berkholz <dberkholz@g.o>