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

Skip to content

Commit 71fd738

Browse files
author
jtimberman
committed
[COOK-2866] - use python binary vs existing directory
1 parent 5e4dabe commit 71fd738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/source.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
end
3131

3232
version = node['python']['version']
33-
install_path = "#{node['python']['prefix_dir']}/lib/python#{version.split(/(^\d+\.\d+)/)[1]}"
33+
install_path = "#{node['python']['prefix_dir']}/bin/python#{version.split(/(^\d+\.\d+)/)[1]}"
3434

3535
remote_file "#{Chef::Config[:file_cache_path]}/Python-#{version}.tar.bz2" do
3636
source "#{node['python']['url']}/#{version}/Python-#{version}.tar.bz2"

0 commit comments

Comments
 (0)