Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
darwin-rebuild: fix sudo invocation on High Sierra
The version of sudo on macOS 10.13 High Sierra does not support the `--preserve-env=LIST` option syntax. Override sudo with a shell function that checks for the availability of this option syntax, and set PATH for the command being invoked with `sh -c` otherwise. Signed-off-by: Rafael Kitover <[email protected]>
- Loading branch information