From d911acbde2baeaf51292a6a49d09a657e0e0088a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 19 Aug 2013 17:21:13 -0500 Subject: Use ENV.prepend_path --- Library/Homebrew/requirements/python_dependency.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/requirements/python_dependency.rb') 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 -- cgit v1.2.3