diff options
Diffstat (limited to 'Library/Formula/python3.rb')
| -rw-r--r-- | Library/Formula/python3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index b0d6bea13..6a85dfaaa 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -232,7 +232,7 @@ class Python3 < Formula sys.path = [ p for p in sys.path if (not p.startswith('/System') and not p.startswith('#{HOMEBREW_PREFIX}/lib/python') and - not (p.startswith('#{HOMEBREW_PREFIX}/Cellar/python') and p.endswith('site-packages'))) ] + not (p.startswith('#{rack}') and p.endswith('site-packages'))) ] # LINKFORSHARED (and python-config --ldflags) return the # full path to the lib (yes, "Python" is actually the lib, not a |
