Bug 430179
| Summary: | bash fails to track changes in location of an executable within the PATH | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Lane <tgl> |
| Component: | bash | Assignee: | Roman Rakus <rrakus> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | hhorak, ivazqueznet, tsmetana, twaugh |
| Target Milestone: | --- | Keywords: | Tracking |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-13 15:43:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tom Lane
2008-01-25 01:51:24 UTC
Does hash -r help? [ reads man page... ] Ugh. Don't tell me bash has adopted that bit of csh brain damage ... or am I just crazy, and it's been like that all along? It's had that facility for a long time, but I've never known anyone to actually use it. So... Is this still a bug then? Maybe an enhancement request :-(. I really thought it paid attention to directory mod dates and did an auto rehash if they changed. Adding Tracking keyword For this purpose look at man page of bash. Section about shopt: checkhash. shopt -s checkhash solves your problem. Closing not a bug Forgive me, shopt -u checkhash should be right. |