diff options
| author | Jack Nagel | 2014-10-26 22:30:28 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-10-26 22:30:28 -0500 | 
| commit | 29ba8d8533eb586f0c25638686388f80c9074710 (patch) | |
| tree | 0a5c8c175bcb2c3ca2b929a8f178f45687210769 /Library/Formula/python.rb | |
| parent | ad8be31f74a86c2cc16a25550dc1f47054c71a8e (diff) | |
| download | homebrew-29ba8d8533eb586f0c25638686388f80c9074710.tar.bz2 | |
Use opt helpers instead of hardcoded paths
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 2eab4f1f5..d222e15eb 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -234,7 +234,7 @@ class Python < Formula      # superenv handles that cc finds includes/libs!      inreplace "setup.py",                "do_readline = self.compiler.find_library_file(lib_dirs, 'readline')", -              "do_readline = '#{HOMEBREW_PREFIX}/opt/readline/lib/libhistory.dylib'" +              "do_readline = '#{Formula["readline"].opt_lib}/libhistory.dylib'"    end    def distutils_fix_stdenv | 
