Commit 62ffd3b
PEX: add /etc/pexrc to the list of pexrc locations to check.
This allows administrators to make it more likely that pexes are executed using a "clean" python instead of whatever users have installed on their path. /etc/pexrc is the first rc read so that it has the lowest precedence and determined users can still override whatever they like.
Testing Done:
Manually tested /etc/pexrc. I don't think the bang:buck is there for a unit test. (mocking out /etc takes work and there are already a bunch of other pantsrc locations that get tested anyway)
https://travis-ci.org/pantsbuild/pex/builds/91981161
Bugs closed: 183
Reviewed at https://rbcommons.com/s/twitter/r/3148/1 parent 000a8e5 commit 62ffd3b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments