[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    =?UTF-8?B?W0lzc3VlIDIzODddIE5ldyAtIGJhc2gtY29tcGxldGlvbiBmb3Igcw==?=
From:       devniv () tigris ! org
Date:       2005-08-25 12:24:39
Message-ID: 20050825122439.6174.qmail () tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=2387
                 Issue #|2387
                 Summary|bash-completion for subversion throws syntax-errors on
                        | bash 3.0.0.16(1)
               Component|subversion
                 Version|trunk
                Platform|All
                     URL|http://vsectoor.geht-ab-wie-schnitzel.de/~niv/svn_bash
                        |completion.diff
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|tools
             Assigned to|issues@subversion
             Reported by|devniv






------- Additional comments from devniv@tigris.org Thu Aug 25 05:24:39 -0700 2005 -------
the bash-completion contribution script in the trunk dir doesn't work correctly
for bash 3.0.0.16(1) on gentoo and debian. 

it throws following error-message:

bash: /usr/share/bash-completion/subversion: line 42: syntax error in
conditional expression: unexpected token `('
bash: /usr/share/bash-completion/subversion: line 42: syntax error near `@($'
bash: /usr/share/bash-completion/subversion: line 42: `	if [[ ${COMP_WORDS[1]}
!= @($helpCmds) ]] && \'


the patch on
http://vsectoor.geht-ab-wie-schnitzel.de/~niv/svn_bashcompletion.diff fixes the
syntax errors and works for me... 

Please look at it, test it for other bash-versions and apply it if it is good,
that it will go mainstream..

any comments?

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic