Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port diagnose PATH check improvements
Get shell from dscl instead of assuming bash. Don't try to check the value of PATH with shells we don't know about. The code to add our dirs to PATH only works with bash, so don't offer to do it with other shells. Use the interactive questions API instead of reimplementing it. Fixes: https://trac.macports.org/ticket/53473 (cherry picked from commit 17c70c9)
- Loading branch information
Showing
2 changed files
with
39 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters