Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix the detection of /opt/local/bin in user's PATH (#16)
The postflight script was using the SHELL variable, which is root's shell and not USHELL, which is the user's shell. Use full path of the user's shell for USHELL. The test for MacPorts paths in the users PATH can be made more robust. The old code will match on /opt/locale for example. Spit the PATH into one path per line with tr and then grep for an exact match with /opt/local/bin. (cherry picked from commit dcb0788)
- Loading branch information
1 parent
0f192fe
commit ddc8032
Showing
1 changed file
with
10 additions
and
7 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