Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129219 - /etc/profile.d/bash-completion: $file is not unset
Summary: /etc/profile.d/bash-completion: $file is not unset
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on: 250027
Blocks:
  Show dependency tree
 
Reported: 2006-04-08 03:37 UTC by TGL
Modified: 2008-12-11 20:09 UTC (History)
3 users (show)

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


Attachments
bash-completion-unset-file.patch (bash-completion-unset-file.patch,247 bytes, patch)
2006-04-08 03:37 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2006-04-08 03:37:34 UTC
There's a $file variable set in /etc/profile.d/bash-completion which is not unset, and thus ends in the user's environment. I noticed it because it screwed a oneliner i did which was using a $file variable too (which was supposed to be unset at the begining).

Trivial patch follows.
Comment 1 TGL 2006-04-08 03:37:54 UTC
Created attachment 84198 [details, diff]
bash-completion-unset-file.patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-08 03:39:12 UTC
bug-wranglers@gentoo.or
Comment 3 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-11 20:09:15 UTC
Fixed in app-shells/bash-completion-20060301-r3 which is now unmasked.