diff options
| author | Jack Nagel | 2014-03-30 23:25:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-30 23:30:26 -0500 |
| commit | 72e965150d6b9b21188f141454c2f5ce20187552 (patch) | |
| tree | c79ecded1bd9be9224759ffa395126daca19527f /Library/Formula/python.rb | |
| parent | 4ad61c84da4c6b1d583dce8c98b381b45385788a (diff) | |
| download | homebrew-72e965150d6b9b21188f141454c2f5ce20187552.tar.bz2 | |
The cellar is not always under the prefix
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index cba83d0ce..aef1c8661 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -251,7 +251,7 @@ class Python < 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 |
