diff options
| author | Jack Nagel | 2013-08-19 17:21:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-19 17:21:13 -0500 |
| commit | 4a3dac82ef338463f5b91afc8e9dcc53394cfb5b (patch) | |
| tree | b3ed036583bf38e19b9dfff031c07a7c6187c676 /Library/Homebrew/requirements/python_dependency.rb | |
| parent | ea8f51256b22f86c3d802ac6432c3bb76ca434cf (diff) | |
| download | brew-4a3dac82ef338463f5b91afc8e9dcc53394cfb5b.tar.bz2 | |
Use ENV.prepend_path
Diffstat (limited to 'Library/Homebrew/requirements/python_dependency.rb')
| -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 |
