diff options
| author | Jack Nagel | 2013-08-19 17:21:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-19 17:21:13 -0500 |
| commit | d911acbde2baeaf51292a6a49d09a657e0e0088a (patch) | |
| tree | 9d48da0a8d897aec95051b9634d2be1392ff0c01 /Library/Homebrew/requirements | |
| parent | 79e06fc9ea80685c9ca619d6f6b6b919da6c4e9d (diff) | |
| download | homebrew-d911acbde2baeaf51292a6a49d09a657e0e0088a.tar.bz2 | |
Use ENV.prepend_path
Diffstat (limited to 'Library/Homebrew/requirements')
| -rw-r--r-- | Library/Homebrew/requirements/python_dependency.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index a1429ce09..fee1b5bd3 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -250,7 +250,7 @@ class PythonInstalled < Requirement file.write(sitecustomize) # For non-system python's we add the opt_prefix/bin of python to the path. - ENV.prepend 'PATH', binary.dirname, File::PATH_SEPARATOR unless from_osx? + ENV.prepend_path 'PATH', binary.dirname unless from_osx? ENV['PYTHONHOME'] = nil # to avoid fuck-ups. ENV['PYTHONPATH'] = if brewed? then nil; else global_site_packages.to_s; end |
