Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
python3: tighten '2to3' check
Browse files Browse the repository at this point in the history
Fixes #14179.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed Aug 14, 2012
1 parent 581ccf4 commit e07689c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Formula/python3.rb
Expand Up @@ -113,7 +113,7 @@ def install
ln_s "#{bin}/python3.2", "#{bin}/python3" unless (bin/"python3").exist?

# Python 2 has a 2to3, too. (https://github.com/mxcl/homebrew/issues/12581)
rm bin/"2to3" if (HOMEBREW_PREFIX/"bin/2to3").exist?
rm bin/"2to3" if (HOMEBREW_PREFIX/"bin/2to3").exist? and (bin/"2to3").exist?

# Tell distutils-based installers where to put scripts
scripts_folder.mkpath
Expand Down

0 comments on commit e07689c

Please sign in to comment.