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

Bug 89845

Summary: quilt completion uses an unquoted > in a test causing unwanted redirection
Product: Gentoo Linux Reporter: Aaron Walker (RETIRED) <ka0ttic>
Component: [OLD] DevelopmentAssignee: Aaron Walker (RETIRED) <ka0ttic>
Status: RESOLVED FIXED    
Severity: normal CC: tigger
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: ftp://ftp.debian.org/debian/pool/main/q/quilt/
Whiteboard:
Package list:
Runtime testing required: ---

Description Aaron Walker (RETIRED) gentoo-dev 2005-04-20 11:26:36 UTC
quilt's command line completion causes an empty '2' file to be written to whatever directory you are in when it is sourced.

Reproducible: Always
Steps to Reproduce:
1. mkdir foo && cd foo
2. source /usr/share/bash-completion/quilt
3. ls
Actual Results:  
A file named '2' exists.

Expected Results:  
No file should be written.

This is fixed in quilt-0.39.

Also noticed that graphviz should be a dependency (required for 'quilt graph').
 And shouldn't all those deps be in RDEPEND?
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-04-20 11:48:12 UTC
*sigh* oops
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2005-04-21 00:10:41 UTC
I was going insane trying to figure out what caused this - I finally thought to check the bash-completion.  I just copied the .37 ebuild into my overlay and renamed to .39 (obviously this isn't the most ideal solution - but I wanted to test) and indeed the bash-completion is fixed with it.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-04-21 05:03:15 UTC
Fixed in 0.37 and 0.39 is in cvs.