Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0fb2a4

Browse files
author
Joshua Timberman
committed
Merge pull request poise#35 from tk0miya/fix-pip-fails-on-changing-prefix_dir
[COOK-2702] Fix python::pip fails on changing node.python.prefix_dir
2 parents 4afbc55 + 165c0ef commit f0fb2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
elsif platform_family?("smartos")
2424
pip_binary = "/opt/local/bin/pip"
2525
else
26-
pip_binary = "/usr/local/bin/pip"
26+
pip_binary = "#{node['python']['prefix_dir']}/bin/pip"
2727
end
2828

2929
# Ubuntu's python-setuptools, python-pip and python-virtualenv packages

0 commit comments

Comments
 (0)