Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417953 - www-apps/blazeblogger - bash completion fails with paths containing spaces
Summary: www-apps/blazeblogger - bash completion fails with paths containing spaces
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL: http://code.google.com/p/blazeblogger...
Whiteboard:
Keywords:
Depends on:
Blocks: bashcomp-spacepath
  Show dependency tree
 
Reported: 2012-05-28 10:14 UTC by poletti.marco
Modified: 2012-06-22 06:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)
+