Opened 14 years ago

Closed 14 years ago

#25352 closed defect (worksforme)

More syntax errors in bash-completion @1.2

Reported by: ariel.popper@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: bash-completion

Description

When ever I launch a new shell I get the following errors in the terminal.

-bash: /opt/local/etc/bash_completion: line 431: syntax error near unexpected token `"$vcur"'
-bash: /opt/local/etc/bash_completion: line 431: `    [[ $vcur   ]] && { upvars+=("$vcur"  ); upargs+=(-v $vcur   "$cur"  ); }'

I would try to figure this out, but I am woefully inexperienced at bash scripting.

Change History (5)

comment:1 Changed 14 years ago by ariel.popper@…

I guess someone already mentioned this to the bash-completion people.Here.

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: raimue@… removed
Owner: changed from macports-tickets@… to raimue@…

comment:3 Changed 14 years ago by raimue (Rainer Müller)

Status: newassigned

Which version of bash do you have installed? Are you using /opt/local/bin/bash or /bin/bash?

comment:4 Changed 14 years ago by ariel.popper@…

It was /bin/bash 2,05b, once i installed 4.something into /opt/local/bin/bash the problem went away. I don't remember too much more about it. I got a little fed up with all the out of date software on the machine and installed Gentoo Linux on it instead a couple weeks ago.

comment:5 Changed 14 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: assignedclosed

Snow Leopard and Leopard ship with bash 3.2.x, so this should not be an issue on our currently supported system. If users of the legacy Tiger still have an older bash version, please use MacPorts provided bash instead.

Note: See TracTickets for help on using tickets.