Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417953

Summary: www-apps/blazeblogger - bash completion fails with paths containing spaces
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://code.google.com/p/blazeblogger/issues/detail?id=47
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 417717    

Description poletti.marco 2012-05-28 10:14:57 UTC
The bash completion installed by www-apps/blazeblogger doesn't work for files/directories with spaces.

See Bug 417717 for more details.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-05-29 21:13:45 UTC
Hello Marco,

I've created an upstream bug report for this.
Can you please provide an apropriate patch? 
I don't use bash and am not familiar with fixing completion files.

Thanks
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-05-29 21:14:20 UTC
Upstream bug report http://code.google.com/p/blazeblogger/issues/detail?id=47
Comment 3 poletti.marco 2012-06-21 20:48:39 UTC
I sent a patch in the upstream bug report.

Also, I noticed that the blazeblogger bash completion file is installed in /etc/bash_completion.d/ instead of /usr/share/bash-completion.
/etc/bash_completion.d usually contains just symlinks to there.

This is probably an issue in the ebuild, not in the upstream distribution (but I'm not sure).
Comment 4 Michael Weber (RETIRED) gentoo-dev 2012-06-22 06:19:41 UTC
(In reply to comment #3)
> I sent a patch in the upstream bug report.
> 
> Also, I noticed that the blazeblogger bash completion file is installed in
> /etc/bash_completion.d/ instead of /usr/share/bash-completion.
> /etc/bash_completion.d usually contains just symlinks to there.
> 
> This is probably an issue in the ebuild, not in the upstream distribution
> (but I'm not sure).

It's compdir in blazeblogger-1.2.0-r1/work/blazeblogger-1.2.0/Makefile.

I've fixed that and included your patch. Thanks.

+*blazeblogger-1.2.0-r1 (22 Jun 2012)
+
+  22 Jun 2012; Michael Weber <xmw@gentoo.org> +blazeblogger-1.2.0-r1.ebuild,
+  +files/blazeblogger-1.2.0-bash-completion.patch:
+  Fix bash-completion (patch provided by poletti.marco@gmail.com on bug 417953)
+