FS#8060 - bash-3.2.025 is broken
Attached to Project:
Arch Linux
Opened by Pete (tam1138) - Wednesday, 19 September 2007, 03:51 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 19 September 2007, 10:35 GMT
Opened by Pete (tam1138) - Wednesday, 19 September 2007, 03:51 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 19 September 2007, 10:35 GMT
|
Details
Description:
I upgraded bash from 3.2-017 to 3.2-025 on both i686 and x86_64 find the same nasty little surprise on both: source /etc/bash_completion exits with an error after processing only a statement or two. Downgrading to bash-3.2-017 restores goodness. Example of badness: $ set -x $ . /etc/bash_completion + . /etc/bash_completion ++ '[' -n '' ']' ++ set +v $ Peeking at /etc/bash_completion shows that a few more commands probably ought to be executed. This seems to have broader implications: in my ~/.bash_profile, I source /etc/bash_completions, but nothing after the line of ~/.bash_profile that sources /etc/bash_completions gets executed. Ie: $ cat test.sh #!/bin/sh echo one . /etc/bash_completion echo two $ . test.sh one $ Steps to reproduce: - upgrade to bash-3.2-025, then: $ . /etc/bash_completion $ echo $? 1 Or try the script snippet I posted above. |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Wednesday, 19 September 2007, 10:35 GMT
Reason for closing: Fixed
Wednesday, 19 September 2007, 10:35 GMT
Reason for closing: Fixed
Comment by Pete (tam1138) -
Wednesday, 19 September 2007, 04:01 GMT
Comment by
Roman Kyrylych (Romashka) -
Wednesday, 19 September 2007, 10:34 GMT
Very weird. I upgraded to bash-completion-20060301-7 and this has
gone away (both i686 and x86_64).
this was a known bug, which was fixed in new bash_completion.