Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Formula/six.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def pythons

def install
pythons.each do |python|
system python.opt_bin/"python3", *Language::Python.setup_install_args(prefix)
python_exe = python.opt_libexec/"bin/python"
system python_exe, *Language::Python.setup_install_args(prefix, python_exe)
end
end

Expand All @@ -38,7 +39,7 @@ def caveats

test do
pythons.each do |python|
system python.opt_bin/"python3", "-c", <<~EOS
system python.opt_libexec/"bin/python", "-c", <<~EOS
import six
assert not six.PY2
assert six.PY3
Expand Down