diff options
author | Travis A. Everett <travis.a.everett@gmail.com> | 2022-01-20 20:32:19 -0600 |
---|---|---|
committer | Travis A. Everett <travis.a.everett@gmail.com> | 2022-01-21 10:47:06 -0600 |
commit | bdb5e0382106d3238cae69095cd1f9ea04679951 (patch) | |
tree | a6024508a23947e757fabd544b2f6b93d89b1b17 /contrib | |
parent | 067076287bf601f8fa2ffe4feff3057b96fa5be8 (diff) |
install-darwin: dodge bash 3.2 command bug
The script is trying to find chown in a cross-platform-like
way, but there's some sort of deficiency in `command -p` in
the default macOS bash 3.2. It looks like it will just use
whatever PATH is already set, instead of the "default" path.
This attempts to hard-set a PATH via `getconf PATH`. It will
just set an empty PATH if that fails for some reason. A
properly-functioning `command -p` should not care what we
set the PATH to here one way or the other.
Hopefully fixes #5768.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions