[bug #65804] ~/bin detected as relative path
Geoff Clare <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #4, bug #65804 (group findutils):
[comment #2 comment #2:]
> It does appear that Bash performs tilde expansion on $PATH entries while
execvp (which is what the env program uses) does not:
This is one of the places where bash does not conform to POSIX by default.
> $ env -u ENV -u BASH_ENV PATH='/bin:~/bin' bash --norc -c 'type
rebuild-findutils.sh'
Try that with POSIXLY_CORRECT=1 added and bash should report
"rebuild-findutils.sh: not found"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65804>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/