| Summary: | should we be disabling bash executable path caching? | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Matt Weber <matthew.weber> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Matt Weber
2020-05-08 19:12:15 UTC
I don't quite follow what Buildroot can do here, i.e how would we disable this bash caching functionnality from the system-provided bash? I'm not even sure it makes sense for us to do this. Thinking about it a little more, the actual shell script would need to set 'set +h' but my understanding is the executable hash table (for quick lookup after a commend is executed the first time) is just local to the current script's context. So to cause an issue, you would have to call the same command twice in the same script and move the location of the executable without updating the PATH. That doesn't sound normal. I'll close this bug :-) |